mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Further prepare cross-compiling mingw32/gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14851 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
03b8d15557
commit
a5a7c5c3fb
@ -12,9 +12,12 @@ GNUCASH_DIR=$GLOBAL_DIR\\gnucash
|
||||
|
||||
####
|
||||
HOST_XCOMPILE=""
|
||||
cross_compile="no"
|
||||
# For cross-compiling, uncomment the following lines:
|
||||
#HOST_XCOMPILE="--host=mingw32"
|
||||
#PKG_CONFIG_PATH="" # to avoid using the host's installed packages
|
||||
#PATH=/opt/mingw32:$PATH
|
||||
#cross_compile=yes
|
||||
####
|
||||
|
||||
MSYS_DIR=$GLOBAL_DIR\\msys
|
||||
@ -149,9 +152,13 @@ add_step inst_unzip
|
||||
add_step inst_regex
|
||||
add_step inst_readline
|
||||
add_step inst_indent
|
||||
add_step inst_active_perl
|
||||
if test x$cross_compile != xyes ; then
|
||||
add_step inst_active_perl
|
||||
fi
|
||||
add_step inst_guile
|
||||
add_step inst_openssl
|
||||
if test x$cross_compile != xyes ; then
|
||||
add_step inst_openssl
|
||||
fi
|
||||
add_step inst_pexports
|
||||
add_step inst_libxml2
|
||||
add_step inst_expat
|
||||
|
@ -354,9 +354,14 @@ function inst_pexports() {
|
||||
else
|
||||
wget_unpacked $PEXPORTS_URL $DOWNLOAD_DIR $PEXPORTS_DIR
|
||||
qpushd $PEXPORTS_DIR
|
||||
mv pexports-* mydir
|
||||
mv mydir/* .
|
||||
rmdir mydir
|
||||
mv pexports-* mydir
|
||||
mv mydir/* .
|
||||
rmdir mydir
|
||||
if test x$cross_compile = xyes ; then
|
||||
cd src
|
||||
make
|
||||
cp pexports.exe ../bin/pexports
|
||||
fi
|
||||
qpopd
|
||||
fi
|
||||
quiet which pexports || die "pexports unavailable"
|
||||
|
Loading…
Reference in New Issue
Block a user