summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-28 12:25:50 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-28 16:49:08 +0200
commit80374355ab96fa73f2aee8971195faf3cf5985f5 (patch)
treefe4aa72179798af1957c3be8948eff18c6f308e9 /sal
parent3c41244209386e22b34cb8da2267383e0238e0ff (diff)
gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
Diffstat (limited to 'sal')
-rw-r--r--sal/Library_sal.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 1d6f75431cca..36ace0d32738 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -57,13 +57,6 @@ $(eval $(call gb_Library_add_defs,sal,\
))
$(eval $(call gb_Library_use_libraries,sal,\
- $(if $(filter $(OS),LINUX), \
- dl \
- ) \
- $(if $(filter $(OS),SOLARIS), \
- nsl \
- socket \
- ) \
$(if $(filter $(OS),WNT), \
advapi32 \
comdlg32 \
@@ -85,6 +78,13 @@ $(eval $(call gb_Library_add_libs,sal,\
-lpthread \
) \
) \
+ $(if $(filter $(OS),LINUX), \
+ -ldl \
+ ) \
+ $(if $(filter $(OS),SOLARIS), \
+ -lnsl \
+ -lsocket \
+ ) \
))
$(eval $(call gb_Library_add_standard_system_libs,sal))