r20445 - gnucash/trunk/packaging/win32 - Windows build: fix libstdc++-6 DLL error
Geert Janssens
gjanssens at code.gnucash.org
Mon Mar 21 11:11:16 EDT 2011
Author: gjanssens
Date: 2011-03-21 11:11:16 -0400 (Mon, 21 Mar 2011)
New Revision: 20445
Trac: http://svn.gnucash.org/trac/changeset/20445
Modified:
gnucash/trunk/packaging/win32/install-impl.sh
Log:
Windows build: fix libstdc++-6 DLL error
This may be a hack, but I have no clue how to fix it otherwise...
Modified: gnucash/trunk/packaging/win32/install-impl.sh
===================================================================
--- gnucash/trunk/packaging/win32/install-impl.sh 2011-03-21 15:11:08 UTC (rev 20444)
+++ gnucash/trunk/packaging/win32/install-impl.sh 2011-03-21 15:11:16 UTC (rev 20445)
@@ -910,7 +910,7 @@
# 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} \
@@ -1413,6 +1413,13 @@
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
More information about the gnucash-changes
mailing list