diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2023-02-23 11:35:40 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2023-03-15 14:36:44 +0100 |
commit | 9a7575b2c6559e35538dfe5b18ae2adbb5c666be (patch) | |
tree | 49f6f16306713638ca5927fb081de112613ea733 /test | |
parent | 5986dc7eb718c206848ffaad0ab774b1dc1836cb (diff) | |
download | justbuild-9a7575b2c6559e35538dfe5b18ae2adbb5c666be.tar.gz |
add missing ldflags -pthread and use -pthread consistently
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/logging/TARGETS | 1 | ||||
-rw-r--r-- | test/other_tools/just_mr/TARGETS | 2 | ||||
-rw-r--r-- | test/utils/cpp/TARGETS | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/test/buildtool/logging/TARGETS b/test/buildtool/logging/TARGETS index a14a0fc3..c6046227 100644 --- a/test/buildtool/logging/TARGETS +++ b/test/buildtool/logging/TARGETS @@ -20,6 +20,7 @@ , ["src/buildtool/file_system", "file_system_manager"] ] , "stage": ["test", "buildtool", "logging"] + , "private-ldflags": ["-pthread"] } , "TESTS": {"type": "install", "tainted": ["test"], "deps": ["log_sink_file", "logger"]} diff --git a/test/other_tools/just_mr/TARGETS b/test/other_tools/just_mr/TARGETS index 15d31445..385cbaef 100644 --- a/test/other_tools/just_mr/TARGETS +++ b/test/other_tools/just_mr/TARGETS @@ -13,7 +13,7 @@ , ["src/other_tools/utils", "archive_ops"] , ["src/utils/cpp", "tmp_dir"] ] - , "private-ldflags": ["-lpthread"] + , "private-ldflags": ["-pthread"] , "stage": ["src"] } , "just_mr_mp": diff --git a/test/utils/cpp/TARGETS b/test/utils/cpp/TARGETS index 9da792dc..16daa3c7 100644 --- a/test/utils/cpp/TARGETS +++ b/test/utils/cpp/TARGETS @@ -21,6 +21,7 @@ , ["src/utils/cpp", "atomic"] ] , "stage": ["test", "utils", "cpp"] + , "private-ldflags": ["-pthread"] } , "TESTS": {"type": "install", "tainted": ["test"], "deps": ["path", "file_locking"]} |