r18781 - gnucash/trunk/packaging/win32 - Win32: Create the MSVC import library for libguile during install.sh.

Christian Stimming cstim at code.gnucash.org
Tue Mar 2 15:22:01 EST 2010


Author: cstim
Date: 2010-03-02 15:22:01 -0500 (Tue, 02 Mar 2010)
New Revision: 18781
Trac: http://svn.gnucash.org/trac/changeset/18781

Modified:
   gnucash/trunk/packaging/win32/install.sh
Log:
Win32: Create the MSVC import library for libguile during install.sh.

Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2010-03-02 20:21:37 UTC (rev 18780)
+++ gnucash/trunk/packaging/win32/install.sh	2010-03-02 20:22:01 UTC (rev 18781)
@@ -392,6 +392,9 @@
 # undef HAVE_INTTYPES_H
 #endif
 EOF
+        # Also, for MSVC compiler we need to create an import library
+        pexports $_GUILE_UDIR/bin/libguile.dll > $_GUILE_UDIR/lib/libguile.def
+        ${DLLTOOL} -d $_GUILE_UDIR/lib/libguile.def -D $_GUILE_UDIR/bin/libguile.dll -l $_GUILE_UDIR/lib/libguile.lib
         rm -rf ${TMP_UDIR}/guile-*
     fi
     if [ "$CROSS_COMPILE" = "yes" ]; then



More information about the gnucash-changes mailing list