From 967986b86184ee4bcd04ff4b98829d8fa73a15a5 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 28 Sep 2012 00:54:49 +0200 Subject: gbuild: gb_Library_PLAINLIBS_NONE cleanup for Mac Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0 --- sal/Library_sal.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sal') 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) -- cgit