[Libreoffice-commits] .: Branch 'libreoffice-3-4' - padmin/Executable_spadmin.bin.mk

Robert Nagy rnagy at kemper.freedesktop.org
Mon Apr 4 06:56:47 PDT 2011


 padmin/Executable_spadmin.bin.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 58ffad59de3f5c13db7678a0a0dd3edf72d381bc
Author: Robert Nagy <robert at openbsd.org>
Date:   Mon Apr 4 15:55:58 2011 +0200

    link to pthread on linux and *bsd

diff --git a/padmin/Executable_spadmin.bin.mk b/padmin/Executable_spadmin.bin.mk
index ac6f19c..5f958d4 100644
--- a/padmin/Executable_spadmin.bin.mk
+++ b/padmin/Executable_spadmin.bin.mk
@@ -59,10 +59,15 @@ $(eval $(call gb_Executable_add_exception_objects,spadmin.bin,\
     padmin/source/pamain \
 ))
 
+ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
+$(eval $(call gb_Executable_add_linked_libs,spadmin.bin,\
+    pthread \
+))
+endif
+
 ifeq ($(OS),LINUX)
 $(eval $(call gb_Executable_add_linked_libs,spadmin.bin,\
     dl \
-    pthread \
 ))
 endif
 


More information about the Libreoffice-commits mailing list