...
This commit is contained in:
parent
af1c48e0f7
commit
5d3e2c7111
1
setup.py
1
setup.py
@ -866,6 +866,7 @@ def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 's
|
|||||||
# RUNPATH locations for transitive dependencies, unlike RPATH.
|
# RUNPATH locations for transitive dependencies, unlike RPATH.
|
||||||
ldflags += ['-Wl,--disable-new-dtags', '-Wl,-rpath,$ORIGIN/../lib']
|
ldflags += ['-Wl,--disable-new-dtags', '-Wl,-rpath,$ORIGIN/../lib']
|
||||||
os.makedirs(launcher_dir, exist_ok=True)
|
os.makedirs(launcher_dir, exist_ok=True)
|
||||||
|
os.makedirs(build_dir, exist_ok=True)
|
||||||
objects = []
|
objects = []
|
||||||
for src in ('launcher.c', 'prewarm-launcher.c'):
|
for src in ('launcher.c', 'prewarm-launcher.c'):
|
||||||
obj = os.path.join(build_dir, src.replace('.c', '.o'))
|
obj = os.path.join(build_dir, src.replace('.c', '.o'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user