mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
Windows build: properly configure msys before checking mingw
availability BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20710 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1eae52043b
commit
534acbdaa0
4
packaging/win32/install-impl.sh
Executable file → Normal file
4
packaging/win32/install-impl.sh
Executable file → Normal file
@ -146,6 +146,8 @@ function inst_mingw() {
|
||||
setup MinGW
|
||||
_MINGW_UDIR=`unix_path $MINGW_DIR`
|
||||
_MINGW_WFSDIR=`win_fs_path $MINGW_DIR`
|
||||
# Configure msys to use mingw on the above path before running any tests !
|
||||
configure_msys "$_PID" "$_MINGW_WFSDIR"
|
||||
[ "$CROSS_COMPILE" = "yes" ] && add_to_env $_MINGW_UDIR/bin PATH
|
||||
add_to_env $_MINGW_UDIR/bin PATH
|
||||
|
||||
@ -181,8 +183,6 @@ function inst_mingw() {
|
||||
if [ "$CROSS_COMPILE" != "yes" ]; then
|
||||
# Some preparation steps, only for native (non-cross-compile)
|
||||
cp ${_MINGW_UDIR}/bin/libpthread-2.dll ${_MINGW_UDIR}/bin/pthreadGC2.dll
|
||||
|
||||
configure_msys "$_PID" "$_MINGW_WFSDIR"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user