[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r5307 - in trunk/softHSM: . src/lib

Rickard Bellgrim rickard at opendnssec.org
Fri Jul 8 14:46:41 CEST 2011


Author: rb
Date: 2011-07-08 14:46:41 +0200 (Fri, 08 Jul 2011)
New Revision: 5307

Modified:
   trunk/softHSM/NEWS
   trunk/softHSM/configure.ac
   trunk/softHSM/src/lib/Makefile.am
Log:
Add support for creating Windows DLL file


Modified: trunk/softHSM/NEWS
===================================================================
--- trunk/softHSM/NEWS	2011-07-08 11:22:43 UTC (rev 5306)
+++ trunk/softHSM/NEWS	2011-07-08 12:46:41 UTC (rev 5307)
@@ -29,6 +29,7 @@
 * Windows: Load library correctly softhsm.
 * Windows: Compatibility function for getpass.
 * Windows: Use _putenv and not setenv.
+* Windows: Generate the DLL file.
 
 
 SoftHSM 1.2.1 - 2011-05-03 

Modified: trunk/softHSM/configure.ac
===================================================================
--- trunk/softHSM/configure.ac	2011-07-08 11:22:43 UTC (rev 5306)
+++ trunk/softHSM/configure.ac	2011-07-08 12:46:41 UTC (rev 5307)
@@ -134,7 +134,17 @@
 
 # Generate the libtool script and install script 
 AC_PROG_INSTALL
-AC_PROG_LIBTOOL
+ifdef(
+  [LT_INIT],
+  [
+    LT_INIT([win32-dll])
+    LT_LANG([Windows Resource])
+  ],
+  [
+    AC_LIBTOOL_WIN32_DLL
+    AC_PROG_LIBTOOL
+  ]
+)
 
 softhsmdbdir=${full_localstatedir}/softhsm
 AC_SUBST([softhsmdbdir])

Modified: trunk/softHSM/src/lib/Makefile.am
===================================================================
--- trunk/softHSM/src/lib/Makefile.am	2011-07-08 11:22:43 UTC (rev 5306)
+++ trunk/softHSM/src/lib/Makefile.am	2011-07-08 12:46:41 UTC (rev 5307)
@@ -28,4 +28,4 @@
 				cryptoki_compat/pkcs11.h
 libsofthsm_la_LIBADD =		@BOTAN_LIBS@ @SQLITE3_LIBS@ @YIELD_LIB@
 libsofthsm_la_LDFLAGS =		-version-info @VERSION_INFO@ \
-				-avoid-version -module
+				-avoid-version -module -no-undefined




More information about the Opendnssec-commits mailing list