[Libreoffice-commits] core.git: smoketest/Executable_libtest.mk

Tor Lillqvist tml at collabora.com
Mon Nov 30 04:00:04 PST 2015


 smoketest/Executable_libtest.mk |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 367dc08f9a7e34fe108c289a59548716e9abdf54
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Nov 30 13:52:34 2015 +0200

    Use -ldl -pthread only on Linux
    
    Change-Id: I968449ac3c12011cb32bf9c29db66ad2ae4553f1

diff --git a/smoketest/Executable_libtest.mk b/smoketest/Executable_libtest.mk
index 3b3bd16..4ba29ee 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 \


More information about the Libreoffice-commits mailing list