Mercurial > mxe-octave
comparison src/ghostscript.mk @ 4055:ccade212c3f9
ghostscript: set ghostscript search paths based on mxe install path (Bug #46301)
* src/ghostscript-mingw-i686-makefile: update GS_LIB_DEFAULT, GS_DOC_DIR paths
* src/ghostscript-mingw-x86_64-makefile: update GS_LIB_DEFAULT, GS_DOC_DIR paths
* src/ghostscript.mk: use ENABLE_WINDOWS_64 flag to set whether to compile mingw 32 or 64
author | John Donoghue |
---|---|
date | Mon, 02 Nov 2015 17:30:00 -0500 |
parents | d5936b3095a5 |
children | 8f22781fe395 |
comparison
equal
deleted
inserted
replaced
4054:f6cee5e12b55 | 4055:ccade212c3f9 |
---|---|
54 ## native mingw build. Some configuration is done by compiling | 54 ## native mingw build. Some configuration is done by compiling |
55 ## and running programs during the build, but those programs | 55 ## and running programs during the build, but those programs |
56 ## probe the build system and don't know about cross compiling, | 56 ## probe the build system and don't know about cross compiling, |
57 ## so we generate the files then replace them with files from a | 57 ## so we generate the files then replace them with files from a |
58 ## mingw native build. | 58 ## mingw native build. |
59 ifeq ($(ENABLE_64),yes) | 59 ifeq ($(ENABLE_WINDOWS_64),yes) |
60 define $(PKG)_BUILD | 60 define $(PKG)_BUILD |
61 mv '$(1)/freetype' '$(1)/freetype.x' | 61 mv '$(1)/freetype' '$(1)/freetype.x' |
62 cp '$(TOP_DIR)/src/ghostscript-mingw-x86_64-makefile' '$(1)/Makefile' | 62 cp '$(TOP_DIR)/src/ghostscript-mingw-x86_64-makefile' '$(1)/Makefile' |
63 $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h | 63 $(MAKE) -C '$(1)' TARGET='$(TARGET)' prefix='$(HOST_PREFIX)' obj/arch.h obj/gconfig_.h |
64 cp '$(TOP_DIR)/src/ghostscript-mingw-x86_64-arch.h' '$(1)/obj/arch.h' | 64 cp '$(TOP_DIR)/src/ghostscript-mingw-x86_64-arch.h' '$(1)/obj/arch.h' |