]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix for #93: dynlibmodule import library is named libunbound.dll.a.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 14 Jan 2021 15:50:17 +0000 (16:50 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 14 Jan 2021 15:50:17 +0000 (16:50 +0100)
configure
configure.ac
doc/Changelog
dynlibmod/examples/helloworld.c

index 87959deaee32a208fbc47e26c6d5015908d9c17e..7957f0dd6d7ffa35dc6599c02e4924594dffd03b 100755 (executable)
--- a/configure
+++ b/configure
@@ -17237,7 +17237,7 @@ $as_echo "#define WITH_DYNLIBMODULE 1" >>confdefs.h
   if test $on_mingw = "no"; then
     DYNLIBMOD_EXTRALIBS="-ldl -export-dynamic"
   else
-    DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.a"
+    DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.dll.a"
   fi
 
 fi
index 02b9eb47b5781103b260d9481ac0deffa5078e4a..3e872bca959265d1ccd39ea697254592652f5f1f 100644 (file)
@@ -644,7 +644,7 @@ if test x_$withval != x_no; then
   if test $on_mingw = "no"; then
     DYNLIBMOD_EXTRALIBS="-ldl -export-dynamic"
   else
-    DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.a"
+    DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.dll.a"
   fi
   AC_SUBST(DYNLIBMOD_EXTRALIBS)
 fi
index c3223b05adf83103633faa2c02753d70d92edd54..335ecf89b252220ba5a287beb72ce3ba10674fab 100644 (file)
@@ -1,3 +1,6 @@
+14 January 2021: Wouter
+       - Fix for #93: dynlibmodule import library is named libunbound.dll.a.
+
 13 January 2021: Wouter
        - Merge #399 from xiangbao227: The lock of lruhash table should
          unlocked after markdel entry.
index 7da32d9bbeba07ad89305a01b0112a4b3d240070..be21168430a72610b9076e36e849eba4bc8a5872 100644 (file)
@@ -7,8 +7,10 @@
  * And to build for windows, first make unbound with the --with-dynlibmod
  * switch, then use this command:
  *   x86_64-w64-mingw32-gcc -m64 -I../.. -shared -Wall -Werror -fpic
- *      -o helloworld.dll helloworld.c -L../.. -l:libunbound.a
- * to cross-compile a 64-bit Windows DLL.
+ *      -o helloworld.dll helloworld.c -L../.. -l:libunbound.dll.a
+ * to cross-compile a 64-bit Windows DLL.  The libunbound.dll.a is produced
+ * by the compile step that makes unbound.exe and allows the dynlib dll to
+ * access definitions in unbound.exe.
  */
 
 #include "../../config.h"