From: Gary V. Vaughan Date: Thu, 27 Jan 2000 15:07:49 +0000 (+0000) Subject: * libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open, X-Git-Tag: release-1-3d~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4993ae3b81f7ae3196819dcb2e997316959541e;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index ffae703b2..6b2fb0861 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-01-27 Gary V. Vaughan + + * 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 fix severe bugs reported by Elrond diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 1d009a38b..f8186f587 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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 */