./installdeps: pull deps submdl for cross targets
Run `git submodule update --init --recursive` for all win32 cross targets, not just msys2, in check_cross() .
This commit is contained in:
parent
d01bf5dbd0
commit
f641620a6c
|
@ -173,6 +173,9 @@ check_cross() {
|
||||||
error "target must be one of 'MinGW-w64-i686' or 'MinGW-w64-x86_64'"
|
error "target must be one of 'MinGW-w64-i686' or 'MinGW-w64-x86_64'"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# all good, get the necessary win32 headers
|
||||||
|
check git submodule update --init --recursive
|
||||||
}
|
}
|
||||||
|
|
||||||
debian_installdeps() {
|
debian_installdeps() {
|
||||||
|
@ -347,9 +350,6 @@ msys2_installdeps() {
|
||||||
# install
|
# install
|
||||||
check pacman --noconfirm --needed -S git make zip "$@"
|
check pacman --noconfirm --needed -S git make zip "$@"
|
||||||
|
|
||||||
# pull necessary win32 headers
|
|
||||||
check git submodule update --init --recursive
|
|
||||||
|
|
||||||
cmake_flags="-G 'MSYS Makefiles'"
|
cmake_flags="-G 'MSYS Makefiles'"
|
||||||
|
|
||||||
build_instructions
|
build_instructions
|
||||||
|
|
Loading…
Reference in New Issue