dso_dlfcn.c: make it work on Tru64 4.0.
authorAndy Polyakov <appro@openssl.org>
Sat, 12 Feb 2011 16:43:41 +0000 (16:43 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 12 Feb 2011 16:43:41 +0000 (16:43 +0000)
PR: 2316

crypto/dso/dso_dlfcn.c

index 8dc2f0859a39bc77a8ab53ac1497a5d118473203..5f2254806ca903d71d3f261d042db1345fcfbe4f 100644 (file)
@@ -85,6 +85,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
 # define HAVE_DLINFO 1
 # if defined(_AIX) || defined(__CYGWIN__) || \
      defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
 # define HAVE_DLINFO 1
 # if defined(_AIX) || defined(__CYGWIN__) || \
      defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
+     (defined(__osf__) && !defined(RTLD_NEXT))     || \
      (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \
        defined(__ANDROID__)
 #  undef HAVE_DLINFO
      (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \
        defined(__ANDROID__)
 #  undef HAVE_DLINFO