]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
authorGary V. Vaughan <gary@gnu.org>
Thu, 27 Jan 2000 15:07:49 +0000 (15:07 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 27 Jan 2000 15:07:49 +0000 (15:07 +0000)
sys_dl_close, sys_dl_sym):  Preprocess these away on cygwin to
avoid spurious error messages.

ChangeLog
libltdl/ltdl.c

index ffae703b2be944cb85ab8b0872fce5b726d84eeb..6b2fb08612f249a8e7c841283cbb99391300d69f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-01-27  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       * libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
+       sys_dl_close, sys_dl_sym):  Preprocess these away on cygwin to
+       avoid spurious error messages.
+
 2000-01-24  Thomas Tanner  <tanner@ffii.org>
 
        fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org>
index 1d009a38b958cea9e1204dad25b682016e1f7eea..f8186f587941aef602b64d4a84582ef2aca2d47e 100644 (file)
@@ -210,7 +210,11 @@ strrchr(str, ch)
 
 #endif
 
-#if HAVE_LIBDL
+/* The Cygwin dlopen implementation prints a spurious error message to
+   stderr if its call to LoadLibrary() fails for any reason.  We can
+   mitigate this by not using the Cygwin implementation, and falling
+   back to our own LoadLibrary() wrapper. */
+#if HAVE_LIBDL && !defined(__CYGWIN__)
 
 /* dynamic linking with dlopen/dlsym */