mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
Save a line :P
This commit is contained in:
@@ -73,8 +73,7 @@ def init_env(env: Env, pkg_config: Callable, at_least_version: Callable, test_co
|
|||||||
|
|
||||||
if module in ('x11', 'wayland'):
|
if module in ('x11', 'wayland'):
|
||||||
ans.cflags.append('-pthread')
|
ans.cflags.append('-pthread')
|
||||||
ans.ldpaths.append('-pthread')
|
ans.ldpaths.extend('-pthread -lm'.split())
|
||||||
ans.ldpaths.append('-lm')
|
|
||||||
if not is_openbsd:
|
if not is_openbsd:
|
||||||
ans.ldpaths.extend('-lrt -ldl'.split())
|
ans.ldpaths.extend('-lrt -ldl'.split())
|
||||||
at_least_version('xkbcommon', 0, 5)
|
at_least_version('xkbcommon', 0, 5)
|
||||||
|
|||||||
Reference in New Issue
Block a user