mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Windows build script improvements
- make sure pexports is available before guile is built - test for pexports availability when compiling libdbi (to fix crosscompilation) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19093 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -332,6 +332,7 @@ add_step inst_regex
|
||||
add_step inst_readline
|
||||
if [ "$CROSS_COMPILE" != "yes" ]; then
|
||||
add_step inst_active_perl
|
||||
add_step inst_mingwutils
|
||||
fi
|
||||
add_step inst_autotools
|
||||
if [ "$AQBANKING3" = "yes" ]; then
|
||||
@@ -340,7 +341,6 @@ fi
|
||||
add_step inst_guile
|
||||
if [ "$CROSS_COMPILE" != "yes" ]; then
|
||||
add_step inst_svn
|
||||
add_step inst_mingwutils
|
||||
if [ "$AQBANKING3" != "yes" ]; then
|
||||
add_step inst_openssl
|
||||
fi
|
||||
|
||||
@@ -1209,8 +1209,11 @@ function inst_libdbi() {
|
||||
make install
|
||||
qpopd
|
||||
qpushd ${_LIBDBI_UDIR}
|
||||
if [ x"$(which pexports.exe > /dev/null 2>&1)" != x ]
|
||||
then
|
||||
pexports bin/libdbi-0.dll > lib/libdbi.def
|
||||
${DLLTOOL} -d lib/libdbi.def -D bin/libdbi-0.dll -l lib/libdbi.lib
|
||||
fi
|
||||
qpopd
|
||||
test -f ${_LIBDBI_UDIR}/bin/libdbi-0.dll || die "libdbi not installed correctly"
|
||||
rm -rf ${TMP_UDIR}/libdbi-0*
|
||||
|
||||
Reference in New Issue
Block a user