From 61d1f8f237bb45901de9c8016ea48fab1c3570da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 6 Apr 2013 11:41:24 +0100 Subject: [PATCH] aix needs to link explicitly to pthreads Change-Id: I8f290b1551663b7e967c6d77e8836a1f3d655834 --- xpdf/ExternalProject_xpdf.mk | 1 + 1 file changed, 1 insertion(+) 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) \ )