Save a line :P

This commit is contained in:
Kovid Goyal 2020-08-24 12:08:09 +05:30
parent 11942ed6dc
commit e2b1ca10c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -73,8 +73,7 @@ def init_env(env: Env, pkg_config: Callable, at_least_version: Callable, test_co
if module in ('x11', 'wayland'):
ans.cflags.append('-pthread')
ans.ldpaths.append('-pthread')
ans.ldpaths.append('-lm')
ans.ldpaths.extend('-pthread -lm'.split())
if not is_openbsd:
ans.ldpaths.extend('-lrt -ldl'.split())
at_least_version('xkbcommon', 0, 5)