(DLLIBS): Do not include -ldl in the mingw32 case.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Oct 2003 07:38:00 +0000 (07:38 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Oct 2003 07:38:00 +0000 (07:38 +0000)
ChangeLog
configure.ac

index 0fb4257..dda3ccd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-23  Werner Koch  <wk@gnupg.org>
+
+       * configure.ac (DLLIBS): Do not include -ldl in the mingw32 case.
+
 2003-10-21  Werner Koch  <wk@gnupg.org>
 
        * configure.ac (PRINTABLE_OS_NAME): Remove special case for The
 2003-10-21  Werner Koch  <wk@gnupg.org>
 
        * configure.ac (PRINTABLE_OS_NAME): Remove special case for The
index 7050f4d..9b91557 100644 (file)
@@ -634,7 +634,13 @@ if test "$try_extensions" = yes || test x"$card_support" = xyes ; then
   if test x"$found_dlopen" = "xyes" ; then
     AC_DEFINE(HAVE_DL_DLOPEN,1,
               [Defined when the dlopen function family is available])
   if test x"$found_dlopen" = "xyes" ; then
     AC_DEFINE(HAVE_DL_DLOPEN,1,
               [Defined when the dlopen function family is available])
-    AC_SUBST(DLLIBS,"-ldl")
+    case "${target}" in
+        *-*-mingw32*)
+          ;;
+        *)
+          AC_SUBST(DLLIBS,"-ldl")
+          ;;
+    esac
 
     if test "$try_extensions" = yes ; then
        AC_DEFINE(USE_DYNAMIC_LINKING,1,
 
     if test "$try_extensions" = yes ; then
        AC_DEFINE(USE_DYNAMIC_LINKING,1,