summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-10-18 18:06:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-10-18 18:06:10 +0000
commit8f3ef7ccda2dbd525fee3272a8cae29527876283 (patch)
treedc8588f8fe74c44d25e472e3e4cb955ed627145a /lib
parent466a1c04ad369618212f520b30638dae72407b8a (diff)
Disable use of dladdr() on a.out arches, they do not provide it (yet); ok djm@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/dso/dso_dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/dso/dso_dlfcn.c b/lib/libssl/src/crypto/dso/dso_dlfcn.c
index 5dceaf7b009..578a20d91d9 100644
--- a/lib/libssl/src/crypto/dso/dso_dlfcn.c
+++ b/lib/libssl/src/crypto/dso/dso_dlfcn.c
@@ -85,7 +85,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
# define HAVE_DLINFO 1
# if defined(_AIX) || defined(__CYGWIN__) || \
defined(__SCO_VERSION__) || defined(_SCO_ELF) || \
- (defined(__OpenBSD__) && !defined(RTLD_SELF))
+ (defined(__OpenBSD__) && (!defined(__ELF__) || !defined(RTLD_SELF)))
# undef HAVE_DLINFO
# endif
#endif