[Libreoffice-commits] core.git: xpdf/ExternalProject_xpdf.mk

Caolán McNamara caolanm at redhat.com
Sat Apr 6 03:48:47 PDT 2013


 xpdf/ExternalProject_xpdf.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 61d1f8f237bb45901de9c8016ea48fab1c3570da
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Apr 6 11:41:24 2013 +0100

    aix needs to link explicitly to pthreads
    
    Change-Id: I8f290b1551663b7e967c6d77e8836a1f3d655834

diff --git a/xpdf/ExternalProject_xpdf.mk b/xpdf/ExternalProject_xpdf.mk
index 4a96c9e..bf147a9 100644
--- a/xpdf/ExternalProject_xpdf.mk
+++ b/xpdf/ExternalProject_xpdf.mk
@@ -38,6 +38,7 @@ $(call gb_ExternalProject_get_state_target,xpdf,build):
 			$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
 			$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
 			$(if $(SYSBASE),CFLAGS="-I$(SYSBASE)/usr/include") \
+			$(if $(PTHREAD_LIBS),$(if $(filter GCC,$(COM)),LDFLAGS=$(PTHREAD_LIBS))) \
 			&& MAKEFLAGS="$(subst r,,$(MAKEFLAGS))" $(MAKE) \
 	)
 


More information about the Libreoffice-commits mailing list