mirror of
https://github.com/reactos/ninja.git
synced 2024-12-13 14:25:53 +00:00
link gtest code with -lpthread
I broke this in a refactoring.
This commit is contained in:
parent
4e5225b94e
commit
f5ac6b4cea
@ -178,7 +178,7 @@ for name in ['build_test', 'build_log_test', 'disk_interface_test',
|
||||
objs += cxx(name, variables=[('cflags', test_cflags)])
|
||||
|
||||
if platform != 'mingw':
|
||||
libs.append('-lpthread')
|
||||
test_libs.append('-lpthread')
|
||||
n.build('ninja_test', 'link', objs, implicit=ninja_lib,
|
||||
variables=[('ldflags', test_ldflags),
|
||||
('libs', test_libs)])
|
||||
|
Loading…
Reference in New Issue
Block a user