diff options
author | David Tardon <dtardon@redhat.com> | 2013-02-13 10:02:10 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-02-13 10:54:40 +0100 |
commit | f2a6ffc48ec846b86f08db6e2c95197b2ac941b4 (patch) | |
tree | 0971b0c3b676d849e0780f2ccbbe01792c7466f4 /xpdf | |
parent | ea8c587f49721b1209a55c5d6ade85e19ecdde81 (diff) |
fix mingw build
Diffstat (limited to 'xpdf')
-rw-r--r-- | xpdf/makefile.mk | 4 |
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= |