Build script: Fix strip flag being lost across MSYSTEMs
This commit is contained in:
@@ -190,7 +190,9 @@ then
|
|||||||
# Call build with the correct MSYSTEM.
|
# Call build with the correct MSYSTEM.
|
||||||
echo [-] Switching to MSYSTEM [$msys]
|
echo [-] Switching to MSYSTEM [$msys]
|
||||||
cd "$cwd"
|
cd "$cwd"
|
||||||
CHERE_INVOKING=yes MSYSTEM="$msys" bash -lc 'exec "'"$0"'" -b "'"$package_name"'" "'"$arch"'" '"$cmake_flags"
|
strip_arg=
|
||||||
|
[ $strip -ne 0 ] && strip_arg="-t "
|
||||||
|
CHERE_INVOKING=yes MSYSTEM="$msys" bash -lc 'exec "'"$0"'" -b "'"$package_name"'" "'"$arch"'" '"$strip_arg""$cmake_flags"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user