Commit 29e30106 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure DSO-dlfcn works properly on SunOS4.

PR: 585
parent b9c2b033
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -123,8 +123,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().