summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-10-22 17:11:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-10-22 17:11:38 +0000
commit1cfa1b8f05d4f8a8ae580f3fbf9633bd7eb2655c (patch)
tree0a18f62274ef4ffb63cef1cb5bac3eb8ce922e8b /lib
parent34beecca68fd19e2504f8c3afbd9f5e406995d72 (diff)
Restore r1.10, lost during last update:
Disable use of dladdr() on a.out arches, they do not provide it (yet);
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/dso/dso_dlfcn.c b/lib/libcrypto/dso/dso_dlfcn.c
index 5f351b318dd..e21b9f6dbc2 100644
--- a/lib/libcrypto/dso/dso_dlfcn.c
+++ b/lib/libcrypto/dso/dso_dlfcn.c
@@ -86,7 +86,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
# if defined(_AIX) || defined(__CYGWIN__) || \
defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
(defined(__osf__) && !defined(RTLD_NEXT)) || \
- (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \
+ (defined(__OpenBSD__) && (!defined(__ELF__) || !defined(RTLD_SELF))) || \
defined(__ANDROID__)
# undef HAVE_DLINFO
# endif