18 lines
818 B
Diff
18 lines
818 B
Diff
|
--- php-5.0.4/Zend/zend.h.dlopen
|
||
|
+++ php-5.0.4/Zend/zend.h
|
||
|
@@ -102,11 +102,11 @@
|
||
|
# endif
|
||
|
|
||
|
# if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
|
||
|
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
|
||
|
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
|
||
|
# elif defined(RTLD_DEEPBIND)
|
||
|
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
|
||
|
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND)
|
||
|
# else
|
||
|
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
|
||
|
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL)
|
||
|
# endif
|
||
|
# define DL_UNLOAD dlclose
|
||
|
# if defined(DLSYM_NEEDS_UNDERSCORE)
|