Commit 1b9f21fd authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure DSO-dlfcn works properly on SunOS4.

PR: 585
parent f3031b10
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -125,8 +125,12 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
#		endif
#	endif
#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;
 * (i) the handle (void*) returned from dlopen().