From: Richard Levitte Date: Thu, 12 Jun 2003 00:51:57 +0000 (+0000) Subject: Make sure DSO-dlfcn works properly on SunOS4. X-Git-Tag: OpenSSL_0_9_6k~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29e301065f407e3637e79921c75c1f02d72023c2;p=oweals%2Fopenssl.git Make sure DSO-dlfcn works properly on SunOS4. PR: 585 --- diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index acf09f5a08..1e38e87773 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -123,7 +123,11 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) # endif # endif #else -# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ +# ifdef OPENSSL_SYS_SUNOS +# define DLOPEN_FLAG 1 +# else +# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ +# endif #endif /* For this DSO_METHOD, our meth_data STACK will contain;