1 |
--- php-5.0.4/Zend/zend.h.dlopen |
2 |
+++ php-5.0.4/Zend/zend.h |
3 |
@@ -102,11 +102,11 @@ |
4 |
# endif |
5 |
|
6 |
# if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT) |
7 |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT) |
8 |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT) |
9 |
# elif defined(RTLD_DEEPBIND) |
10 |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND) |
11 |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND) |
12 |
# else |
13 |
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL) |
14 |
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL) |
15 |
# endif |
16 |
# define DL_UNLOAD dlclose |
17 |
# if defined(DLSYM_NEEDS_UNDERSCORE) |