mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Dont link against librt and libdl on OpenBSD
These are part of libc there
This commit is contained in:
parent
7172115559
commit
e38690e8d9
3
setup.py
3
setup.py
@ -46,6 +46,7 @@ version = tuple(
|
||||
)
|
||||
_plat = sys.platform.lower()
|
||||
is_macos = 'darwin' in _plat
|
||||
is_openbsd = 'openbsd' in _plat
|
||||
Env = glfw.Env
|
||||
env = Env()
|
||||
PKGCONFIG = os.environ.get('PKGCONFIG_EXE', 'pkg-config')
|
||||
@ -344,7 +345,7 @@ def kitty_env() -> Env:
|
||||
ans.ldpaths += pylib + font_libs + gl_libs + libpng
|
||||
if is_macos:
|
||||
ans.ldpaths.extend('-framework Cocoa'.split())
|
||||
else:
|
||||
elif not is_openbsd:
|
||||
ans.ldpaths += ['-lrt']
|
||||
if '-ldl' not in ans.ldpaths:
|
||||
ans.ldpaths.append('-ldl')
|
||||
|
Loading…
Reference in New Issue
Block a user