Use -ldl -pthread only on Linux
Change-Id: I968449ac3c12011cb32bf9c29db66ad2ae4553f1
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user