summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-28 00:54:49 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-28 16:49:07 +0200
commit967986b86184ee4bcd04ff4b98829d8fa73a15a5 (patch)
tree512c433959b06646c931cbe278363415b276648d /sal/Library_sal.mk
parentcee32aae398283c38b42c73add694e9d074a5d62 (diff)
gbuild: gb_Library_PLAINLIBS_NONE cleanup for Mac
Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index c42728ff9ac1..1d6f75431cca 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -57,11 +57,6 @@ $(eval $(call gb_Library_add_defs,sal,\
))
$(eval $(call gb_Library_use_libraries,sal,\
- $(if $(filter $(GUI),UNX), \
- $(if $(filter $(OS),ANDROID),, \
- pthread \
- ) \
- ) \
$(if $(filter $(OS),LINUX), \
dl \
) \
@@ -84,6 +79,14 @@ $(eval $(call gb_Library_use_libraries,sal,\
$(gb_UWINAPI) \
))
+$(eval $(call gb_Library_add_libs,sal,\
+ $(if $(filter $(GUI),UNX), \
+ $(if $(filter $(OS),ANDROID),, \
+ -lpthread \
+ ) \
+ ) \
+))
+
$(eval $(call gb_Library_add_standard_system_libs,sal))
ifeq ($(OS),MACOSX)