summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-12-21 15:26:55 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2011-12-21 15:27:26 +0100
commit683e471f3559b3dc40dc697576baf0be9612b1fc (patch)
treeca7f8341bc2bfe155f7b67ddb52dc2089e459b86 /sal
parent1c184292ad65907a5c19458ae4366c5af67d4828 (diff)
gbuild, sal: dl is linux only
Diffstat (limited to 'sal')
-rw-r--r--sal/Library_sal.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 93bc64649a88..6f940db15ad7 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -56,10 +56,12 @@ $(eval $(call gb_Library_add_defs,sal,\
$(eval $(call gb_Library_add_linked_libs,sal,\
$(if $(filter $(GUI),UNX), \
$(if $(filter $(OS),ANDROID),, \
- dl \
pthread \
) \
) \
+ $(if $(filter $(OS),LINUX), \
+ dl \
+ ) \
$(if $(filter $(OS),SOLARIS), \
nsl \
socket \