Blame SOURCES/php-5.4.0-dlopen.patch

37fd76
--- php-5.4.0RC5/Zend/zend.h.dlopen	2012-01-18 17:10:33.972013835 +0100
37fd76
+++ php-5.4.0RC5/Zend/zend.h	2012-01-18 17:12:39.175019492 +0100
37fd76
@@ -90,11 +90,11 @@
37fd76
 # endif
37fd76
 
37fd76
 # if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
37fd76
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
37fd76
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
37fd76
 # elif defined(RTLD_DEEPBIND)
37fd76
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
37fd76
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL | RTLD_DEEPBIND)
37fd76
 # else
37fd76
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
37fd76
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL)
37fd76
 # endif
37fd76
 # define DL_UNLOAD					dlclose
37fd76
 # if defined(DLSYM_NEEDS_UNDERSCORE)