diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-09-22 17:13:22 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-09-22 17:13:46 +0200 |
commit | b1ecadbda1c5f5abde1be2ade8ab288051a4b207 (patch) | |
tree | 4d7e3f2f2a7af70ea05c979591ad56fd0d68fb07 /xpdf | |
parent | bee6de695c61b43020a8224a3b8f901d804aa904 (diff) |
Fix MinGW build of xpdf.
Diffstat (limited to 'xpdf')
-rw-r--r-- | xpdf/makefile.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xpdf/makefile.mk b/xpdf/makefile.mk index 3205582d969b..85c2a8813653 100644 --- a/xpdf/makefile.mk +++ b/xpdf/makefile.mk @@ -93,7 +93,14 @@ BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) .IF "$(COM)"=="GCC" LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2 .EXPORT : LDFLAGS -CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32 + +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= |