This commit is contained in:
Kovid Goyal 2022-07-05 20:48:01 +05:30
parent af1c48e0f7
commit 5d3e2c7111
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'))