]> granicus.if.org Git - php/commitdiff
Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which
authorSascha Schumann <sas@php.net>
Tue, 12 Oct 1999 14:48:32 +0000 (14:48 +0000)
committerSascha Schumann <sas@php.net>
Tue, 12 Oct 1999 14:48:32 +0000 (14:48 +0000)
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

index a0df689fd0f42d88a505518f7fd8651eb5801454..e27c6d3adf56cef7384246a8574eee0fa37a9e05 100644 (file)
@@ -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