Skip to content

Commit

Permalink
Windows build: fix libstdc++-6 DLL error
Browse files Browse the repository at this point in the history
This may be a hack, but I have no clue how to fix it otherwise...

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20445 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
gjanssens committed Mar 21, 2011
1 parent 133ce76 commit 0cd80e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packaging/win32/install-impl.sh
Expand Up @@ -910,7 +910,7 @@ function inst_libofx() {
# aclocal ${ACLOCAL_FLAGS}
# automake
# autoconf
# ACLOCAL="aclocal $ACLOCAL_FLAGS" autoreconf -fvi $ACLOCAL_FLAGS -B $_AUTOTOOLS_UDIR/share/autoconf/autoconf
# ACLOCAL="aclocal $ACLOCAL_FLAGS" autoreconf -fvi $ACLOCAL_FLAGS -B $_AUTOTOOLS_UDIR/share/autoconf/autoconf
fi
./configure ${HOST_XCOMPILE} \
--prefix=${_LIBOFX_UDIR} \
Expand Down Expand Up @@ -1413,6 +1413,13 @@ function make_install() {

make install

qpushd $_INSTALL_UDIR/bin
# Copy libstdc++-6.dll and its dependency to gnucash bin directory
# to prevent DLL loading errors
# (__gxx_personality_v0 not found in libstdc++-6.dll)
cp $MINGW_DIR/bin/{libstdc++-6.dll,libgcc_s_dw2-1.dll} .
qpopd

qpushd $_INSTALL_UDIR/lib
# Move modules that are compiled without -module to lib/gnucash and
# correct the 'dlname' in the libtool archives. We do not use these
Expand Down

0 comments on commit 0cd80e8

Please sign in to comment.