8e68e307c3
- update to 5.0.4 (#153068) - add .phps AddType to php.conf (#152973)
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)
|