mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 04:03:16 +02:00
Update the version of Ubuntu the kitty binaries are built on to Bionic
The upgrade was needed as I couldn't get Xenial to boot in the QEMU VM. In any case Bionic is now three years old and comes with GLIBC 2.27 released on 2018-02-01 which will be almost four years old when the next version of kitty is released.
This commit is contained in:
5
setup.py
5
setup.py
@@ -870,7 +870,10 @@ def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 's
|
||||
for path in args.extra_include_dirs:
|
||||
cflags.append(f'-I{path}')
|
||||
if bundle_type == 'linux-freeze':
|
||||
ldflags += ['-Wl,-rpath,$ORIGIN/../lib']
|
||||
# --disable-new-dtags prevents -rpath from generating RUNPATH instead of
|
||||
# RPATH entries in the launcher. The ld dynamic linker does not search
|
||||
# RUNPATH locations for transitive dependencies, unlike RPATH.
|
||||
ldflags += ['-Wl,--disable-new-dtags', '-Wl,-rpath,$ORIGIN/../lib']
|
||||
os.makedirs(launcher_dir, exist_ok=True)
|
||||
dest = os.path.join(launcher_dir, 'kitty')
|
||||
src = 'launcher.c'
|
||||
|
||||
Reference in New Issue
Block a user