]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Cygwin: enable the use of Dl_info and dladdr()
authorRichard Levitte <levitte@openssl.org>
Wed, 17 Jul 2019 19:22:42 +0000 (21:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 21 Jul 2019 09:08:56 +0000 (11:08 +0200)
These weren't available in Cygwin at the time our DSO code was
written, but things have changed since.

Fixes #9385

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9402)

(cherry picked from commit 38f6f99cdf0a87345d646d30a764c089c38627ad)

crypto/dso/dso_dlfcn.c

index 4240f5f5e30c85f51d2ac508cb952f41a43978f9..e2b87e8075e935ad27d1a04860444e11f9799e3f 100644 (file)
@@ -27,8 +27,7 @@
 #  endif
 #  include <dlfcn.h>
 #  define HAVE_DLINFO 1
-#  if defined(__CYGWIN__) || \
-     defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
+#  if defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
      (defined(__osf__) && !defined(RTLD_NEXT))     || \
      (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \
         defined(__ANDROID__)