summaryrefslogtreecommitdiff
path: root/xpdf
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-02-13 10:02:10 +0100
committerDavid Tardon <dtardon@redhat.com>2013-02-13 10:54:40 +0100
commitf2a6ffc48ec846b86f08db6e2c95197b2ac941b4 (patch)
tree0971b0c3b676d849e0780f2ccbbe01792c7466f4 /xpdf
parentea8c587f49721b1209a55c5d6ade85e19ecdde81 (diff)
fix mingw build
Diffstat (limited to 'xpdf')
-rw-r--r--xpdf/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/xpdf/makefile.mk b/xpdf/makefile.mk
index 8a2747a1dccf..ddda497f3195 100644
--- a/xpdf/makefile.mk
+++ b/xpdf/makefile.mk
@@ -106,6 +106,10 @@ LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2
CONFIGURE_ACTION=./configure
CONFIGURE_FLAGS+=--without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32
+.IF "$(CROSS_COMPILING)"=="YES"
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
+.ENDIF
+
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
.ELSE
CONFIGURE_ACTION=