From e9c6367cd546e6cf69cc2212b5a8771599bc54d8 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 13 Jul 2012 14:21:43 +0200 Subject: fdo#51948 do not link with dl on *BSD Change-Id: If623e9a0d909ce6a7e260b0d4beed3fb0c74cf8b --- pyuno/Library_pyuno_wrapper.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyuno') diff --git a/pyuno/Library_pyuno_wrapper.mk b/pyuno/Library_pyuno_wrapper.mk index eba06d6d164d..0f46beaac557 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 -- cgit