diff options
-rw-r--r-- | pyuno/Library_pyuno_wrapper.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 |