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 19:28:43 +0200
commit560e41d50a946c2c548671f4e0a0c6f5dcd4066c (patch)
tree54c68e90497c5d3b34135857b6c5def082858ec5 /extensions
parent476eec28198379c9279febc1ec2d07f4f2369c27 (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> (cherry picked from commit a5a17ccdbc870b475e6a2dc076a780b55e16ccab)
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))