diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-11-30 13:52:34 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-11-30 13:54:56 +0200 |
commit | 367dc08f9a7e34fe108c289a59548716e9abdf54 (patch) | |
tree | 7aafab144bafa8d7abe2f7f850a40ccb6e139577 /smoketest | |
parent | ac95a8b2e9e68111a24aa20c04eb18fba4a5c6e9 (diff) |
Use -ldl -pthread only on Linux
Change-Id: I968449ac3c12011cb32bf9c29db66ad2ae4553f1
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/Executable_libtest.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/Executable_libtest.mk b/smoketest/Executable_libtest.mk index 3b3bd1634e1a..4ba29eef20da 100644 --- a/smoketest/Executable_libtest.mk +++ b/smoketest/Executable_libtest.mk @@ -17,10 +17,12 @@ $(eval $(call gb_Executable_use_libraries,libtest,\ $(gb_UWINAPI) \ )) +ifeq ($(OS),LINUX) $(eval $(call gb_Executable_add_libs,libtest,\ -ldl \ -pthread \ )) +endif $(eval $(call gb_Executable_add_exception_objects,libtest,\ smoketest/libtest \ |