From 1b9f21fdc8644914f3b6495bda6f1b9ceefe236b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 12 Jun 2003 00:51:59 +0000 Subject: [PATCH] Make sure DSO-dlfcn works properly on SunOS4. PR: 585 --- crypto/dso/dso_dlfcn.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 906b4703de..9d49ebc253 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -125,7 +125,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; -- 2.25.1