Use -ldl -pthread only on Linux

Change-Id: I968449ac3c12011cb32bf9c29db66ad2ae4553f1
This commit is contained in:
Tor Lillqvist
2015-11-30 13:54:56 +02:00
parent ac95a8b2e9
commit 367dc08f9a
+2
View File
@@ -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 \