summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-06 11:41:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-06 11:48:26 +0100
commit61d1f8f237bb45901de9c8016ea48fab1c3570da (patch)
tree0533278ee0769aa3717d85a3b2691ebd32f380b8
parentd70e690e57397f3819e84264a7a0949e0ff8e9b2 (diff)
aix needs to link explicitly to pthreads
Change-Id: I8f290b1551663b7e967c6d77e8836a1f3d655834
-rw-r--r--xpdf/ExternalProject_xpdf.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/xpdf/ExternalProject_xpdf.mk b/xpdf/ExternalProject_xpdf.mk
index 4a96c9e920d6..bf147a956415 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) \
)