Mercurial > mxe-octave
diff src/ghostscript.mk @ 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 | be9c49c6ccca |
children | cd41c2d17ef3 |
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