mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix cross compilation of OpenSP and LibOFX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16127 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5332dc2830
commit
5433712750
@ -737,20 +737,22 @@ function inst_hh() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function inst_opensp() {
|
function inst_opensp() {
|
||||||
setup Opensp
|
setup OpenSP
|
||||||
_OPENSP_UDIR=`unix_path ${OPENSP_DIR}`
|
_OPENSP_UDIR=`unix_path ${OPENSP_DIR}`
|
||||||
add_to_env ${_OPENSP_UDIR}/bin PATH
|
add_to_env ${_OPENSP_UDIR}/bin PATH
|
||||||
if test -f ${_OPENSP_UDIR}/bin/libosp-5.dll
|
if test -f ${_OPENSP_UDIR}/bin/libosp-5.dll
|
||||||
then
|
then
|
||||||
echo "Opensp already installed. Skipping."
|
echo "OpenSP already installed. Skipping."
|
||||||
else
|
else
|
||||||
wget_unpacked $OPENSP_URL $DOWNLOAD_DIR $TMP_DIR
|
wget_unpacked $OPENSP_URL $DOWNLOAD_DIR $TMP_DIR
|
||||||
assert_one_dir $TMP_UDIR/OpenSP-*
|
assert_one_dir $TMP_UDIR/OpenSP-*
|
||||||
qpushd $TMP_UDIR/OpenSP-*
|
qpushd $TMP_UDIR/OpenSP-*
|
||||||
[ -n "$OPENSP_PATCH" -a -f "$OPENSP_PATCH" ] && \
|
[ -n "$OPENSP_PATCH" -a -f "$OPENSP_PATCH" ] && \
|
||||||
patch -p0 < $OPENSP_PATCH
|
patch -p0 < $OPENSP_PATCH
|
||||||
automake lib/Makefile
|
aclocal ${ACLOCAL_FLAGS} -I m4
|
||||||
./configure \
|
automake
|
||||||
|
autoconf
|
||||||
|
./configure ${HOST_XCOMPILE} \
|
||||||
--prefix=${_OPENSP_UDIR} \
|
--prefix=${_OPENSP_UDIR} \
|
||||||
--disable-doc-build --disable-static
|
--disable-doc-build --disable-static
|
||||||
# On many windows machines, none of the programs will
|
# On many windows machines, none of the programs will
|
||||||
@ -760,7 +762,7 @@ function inst_opensp() {
|
|||||||
make -i
|
make -i
|
||||||
make -i install
|
make -i install
|
||||||
qpopd
|
qpopd
|
||||||
test -f ${_OPENSP_UDIR}/bin/libosp-5.dll || die "Opensp not installed correctly"
|
test -f ${_OPENSP_UDIR}/bin/libosp-5.dll || die "OpenSP not installed correctly"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -778,7 +780,7 @@ function inst_libofx() {
|
|||||||
qpushd $TMP_UDIR/libofx-*
|
qpushd $TMP_UDIR/libofx-*
|
||||||
[ -n "$LIBOFX_PATCH" -a -f "$LIBOFX_PATCH" ] && \
|
[ -n "$LIBOFX_PATCH" -a -f "$LIBOFX_PATCH" ] && \
|
||||||
patch -p1 < $LIBOFX_PATCH
|
patch -p1 < $LIBOFX_PATCH
|
||||||
./configure \
|
./configure ${HOST_XCOMPILE} \
|
||||||
--prefix=${_LIBOFX_UDIR} \
|
--prefix=${_LIBOFX_UDIR} \
|
||||||
--with-opensp-includes=${_OPENSP_UDIR}/include/OpenSP \
|
--with-opensp-includes=${_OPENSP_UDIR}/include/OpenSP \
|
||||||
--with-opensp-libs=${_OPENSP_UDIR}/lib \
|
--with-opensp-libs=${_OPENSP_UDIR}/lib \
|
||||||
|
Loading…
Reference in New Issue
Block a user