Save a line :P
This commit is contained in:
parent
11942ed6dc
commit
e2b1ca10c9
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user