[Libreoffice-commits] .: pyuno/Library_pyuno_wrapper.mk

David Tardon dtardon at kemper.freedesktop.org
Fri Jul 13 05:24:27 PDT 2012


 pyuno/Library_pyuno_wrapper.mk |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e9c6367cd546e6cf69cc2212b5a8771599bc54d8
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Jul 13 14:21:43 2012 +0200

    fdo#51948 do not link with dl on *BSD
    
    Change-Id: If623e9a0d909ce6a7e260b0d4beed3fb0c74cf8b

diff --git a/pyuno/Library_pyuno_wrapper.mk b/pyuno/Library_pyuno_wrapper.mk
index eba06d6..0f46bea 100644
--- a/pyuno/Library_pyuno_wrapper.mk
+++ b/pyuno/Library_pyuno_wrapper.mk
@@ -49,10 +49,10 @@ $(eval $(call gb_Library_set_include,pyuno_wrapper,\
 endif
 
 ifneq ($(GUI)$(COM),WNTMSC)
-ifneq ($(OS),MACOSX)
+ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
 
-$(eval $(call gb_Library_add_libs,pyuno_wrapper,\
-	-ldl \
+$(eval $(call gb_Library_use_libraries,pyuno_wrapper,\
+	dl \
 ))
 
 endif


More information about the Libreoffice-commits mailing list