From fc480834372dfc1834f30c112b25a37f3a0cad06 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 12 Oct 1999 14:48:32 +0000 Subject: [PATCH] Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which should be used for the 2nd parameter to dlopen. http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man3/dlfcn.3?rev=1.8 --- Zend/acconfig.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Zend/acconfig.h b/Zend/acconfig.h index a0df689fd0..e27c6d3adf 100644 --- a/Zend/acconfig.h +++ b/Zend/acconfig.h @@ -67,6 +67,9 @@ # if !defined(RTLD_NOW) && defined(DL_NOW) # define RTLD_NOW DL_NOW # endif +# if !defined(RTLD_NOW) && defined(DL_LAZY) +# define RTLD_NOW DL_LAZY +# endif # define DL_LOAD(libname) dlopen(libname, RTLD_NOW) # define DL_UNLOAD dlclose # define DL_FETCH_SYMBOL dlsym -- 2.50.1