summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-10 18:32:51 +0200
committerMichael Stahl <mstahl@redhat.com>2014-06-10 17:25:04 +0000
commita5a17ccdbc870b475e6a2dc076a780b55e16ccab (patch)
tree7b896dd0859965d8acc2fd60869d0c36a6b9d9da /extensions
parent098b0bf8630f233fe7d3eba49c85a98929ce9929 (diff)
Filter out OS not needing -ldl
Change-Id: I5863de6d8b1f0fe2419ea7419b1ff90087bb513d Reviewed-on: https://gerrit.libreoffice.org/9715 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Library_npsoplugin.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/Library_npsoplugin.mk b/extensions/Library_npsoplugin.mk
index 4f385d9a6a54..9178a9da1b04 100644
--- a/extensions/Library_npsoplugin.mk
+++ b/extensions/Library_npsoplugin.mk
@@ -23,9 +23,11 @@ $(eval $(call gb_Library_use_static_libraries,npsoplugin,\
ifneq ($(OS),WNT)
+ifeq ($(filter ANDROID DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
$(eval $(call gb_Library_add_libs,npsoplugin,\
-ldl \
))
+endif
$(eval $(call gb_Library_use_external,npsoplugin,gtk))