diff options
Diffstat (limited to 'src/lib/libcrypto/dso/dso_dlfcn.c')
-rw-r--r-- | src/lib/libcrypto/dso/dso_dlfcn.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dso/dso_dlfcn.c b/src/lib/libcrypto/dso/dso_dlfcn.c index 906b4703de..9d49ebc253 100644 --- a/src/lib/libcrypto/dso/dso_dlfcn.c +++ b/src/lib/libcrypto/dso/dso_dlfcn.c | |||
@@ -125,7 +125,11 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) | |||
125 | # endif | 125 | # endif |
126 | # endif | 126 | # endif |
127 | #else | 127 | #else |
128 | # define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ | 128 | # ifdef OPENSSL_SYS_SUNOS |
129 | # define DLOPEN_FLAG 1 | ||
130 | # else | ||
131 | # define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ | ||
132 | # endif | ||
129 | #endif | 133 | #endif |
130 | 134 | ||
131 | /* For this DSO_METHOD, our meth_data STACK will contain; | 135 | /* For this DSO_METHOD, our meth_data STACK will contain; |