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:
Geert Janssens
2010-05-02 23:18:04 +00:00
parent 64d45d987a
commit 7561a9e3a9
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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
+3
View File
@@ -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*