Fix configure script for variables read from mapnik-settings.env

Custom build variables (e.g. CXX_STD or CXX) read from
mapnik-settings.env have to be provided as command line arguments
because SCons does not respect the environment variables.
This commit is contained in:
Michael Reichert 2023-11-23 22:03:11 +01:00
parent 437feebaf1
commit a5a96aacad

4
configure vendored
View file

@ -15,4 +15,6 @@ if [ -f mapnik-settings.env ]; then
. ./mapnik-settings.env
fi
$PYTHON scons/scons.py --implicit-deps-changed configure "$@"
VARS=( $(cat mapnik-settings.env) )
$PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]} "$@"