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:
parent
437feebaf1
commit
a5a96aacad
1 changed files with 3 additions and 1 deletions
4
configure
vendored
4
configure
vendored
|
@ -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[*]} "$@"
|
||||
|
|
Loading…
Reference in a new issue