[ROSBE-WINDOWS] Revert the Ninja build step changes.

They only seem to work under Unix, but not for Windows/MinGW.
Shouldn't change anything anyway, change was just for consistency.
This commit is contained in:
Colin Finck 2020-05-26 23:10:40 +02:00
parent ce2eb08f0f
commit ba1f4584e2
No known key found for this signature in database
GPG Key ID: 1BA74E70456BA1A9

View File

@ -271,9 +271,17 @@ if rs_prepare_module "gcc"; then
fi
if rs_prepare_module "ninja"; then
rs_do_command ../ninja/configure.py --bootstrap --platform mingw
# Ninja under Windows/MinGW needs special build directory handling.
old_path=$PATH
export PATH=".:$PATH"
rs_do_command cd ../ninja
rs_do_command ./configure.py --bootstrap --platform mingw
rs_do_command install ninja "$rs_prefixdir/bin"
rs_clean_module "ninja"
export PATH=$old_path
unset old_path
fi
# Final actions