mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1290045 - Pass JS_STANDALONE as a configure argument, instead of an environment variable. r=chmanchester
Python configure "environment variables" can be passed as actual environment variables, but can also be passed as command line arguments (unless they also make it to old-configure, which doesn't support that). Passing empty environment variables is broken in msys2/cygwin: the subprocess doesn't see the environment variable being set, so it can't tell the difference between "not set" and "set to nothing", which has a different meaning for python configure environment variables. Currently, JS_STANDALONE is passed this way. Passing it as a command line argument makes it properly passed down to the subconfigure. --HG-- extra : rebase_source : d4ebaf9d626902166c3861ee9d6141255658194f
This commit is contained in:
parent
ae6ff907e5
commit
13846510e3
@ -6761,7 +6761,6 @@ export RUSTC
|
||||
export MOZILLA_CENTRAL_PATH=$_topsrcdir
|
||||
export STLPORT_CPPFLAGS
|
||||
export STLPORT_LIBS
|
||||
export JS_STANDALONE=
|
||||
unset MOZ_BUILD_APP
|
||||
export DIST
|
||||
export MOZ_LINKER
|
||||
@ -6789,6 +6788,7 @@ if ! test -e js; then
|
||||
mkdir js
|
||||
fi
|
||||
|
||||
ac_configure_args="$ac_configure_args JS_STANDALONE="
|
||||
AC_OUTPUT_SUBDIRS(js/src,$cache_file)
|
||||
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user