diff options
author | David Tardon <dtardon@redhat.com> | 2012-07-13 14:21:43 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-07-13 14:23:34 +0200 |
commit | e9c6367cd546e6cf69cc2212b5a8771599bc54d8 (patch) | |
tree | 72aa2b622714c41bbf606bffcf360586b6a3b4f7 /pyuno | |
parent | 09a5a74956b96b69ec93687f5a902b1c4f937d9e (diff) |
fdo#51948 do not link with dl on *BSD
Change-Id: If623e9a0d909ce6a7e260b0d4beed3fb0c74cf8b
Diffstat (limited to 'pyuno')
-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 |