Mercurial > mxe-octave
changeset 5399:11fe8ac3cbe7
* src/ghostscript.mk: native ghistscript, include ld and cpp glags
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 12 May 2020 17:39:50 -0400 |
parents | c0d7569adb6c |
children | 6a078f4d6eb7 |
files | src/ghostscript.mk |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ghostscript.mk Tue May 12 08:01:41 2020 -0400 +++ b/src/ghostscript.mk Tue May 12 17:39:50 2020 -0400 @@ -21,6 +21,10 @@ $(PKG)_DEPS += lcms endif +ifeq ($(MXE_NATIVE_BUILD),yes) + $(PKG)_CONFIGURE_FLAGS=$(CONFIGURE_LDFLAGS) $(CONFIGURE_CPPFLAGS) +endif + define $(PKG)_UPDATE $(WGET) -q -O- 'https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases' | \ $(SED) -n 's,.*"ghostscript-\([0-9\.]*\)\.tar.xz".*,\1,p' | \ @@ -35,6 +39,7 @@ cd '$(1)/.build' && $(1)/configure \ CPPFLAGS='$(CPPFLAGS) -DHAVE_SYS_TIMES_H=0' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + $($(PKG)_CONFIGURE_FLAGS) \ --prefix='$(HOST_PREFIX)' \ --without-local-zlib \ --with-system-libtiff