summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2021-01-10 02:50:39 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-01-10 02:50:39 (GMT)
commitc8d473e03f54e44bb56709c74288bf8f9586e058 (patch)
tree81a1ce26135b9554b38af1ec0f70fb1b1f3c4b4f
parentf879e4ea2303e0db5c26ab3a8d3267ed350c4e0f (diff)
downloadmxe-c8d473e03f54e44bb56709c74288bf8f9586e058.zip
mxe-c8d473e03f54e44bb56709c74288bf8f9586e058.tar.gz
mxe-c8d473e03f54e44bb56709c74288bf8f9586e058.tar.bz2
gdal: add PKG_CONFIGURE_OPTS
openjpeg update causes issues
-rw-r--r--src/gdal.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gdal.mk b/src/gdal.mk
index 65b1adb..ac8e894 100644
--- a/src/gdal.mk
+++ b/src/gdal.mk
@@ -75,7 +75,8 @@ define $(PKG)_BUILD
--with-xml2='$(PREFIX)/$(TARGET)/bin/xml2-config' \
--with-pg='$(PREFIX)/$(TARGET)/bin/pg_config' \
CXXFLAGS='-D_WIN32_WINNT=0x0600' \
- LIBS="-ljpeg -lsecur32 -lportablexdr `'$(TARGET)-pkg-config' --libs openssl libtiff-4 spatialite freexl armadillo`"
+ LIBS="-ljpeg -lsecur32 -lportablexdr `'$(TARGET)-pkg-config' --libs openssl libtiff-4 spatialite freexl armadillo`" \
+ $(PKG_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' lib-target
# gdal doesn't have an install-strip target