1 Jun 2008 05:31
[PHP-DEV] [PATCH] fix building openssl shared on unix in 5.3
Gregory Beaver <greg <at> chiaraquartet.net>
2008-06-01 03:31:29 GMT
2008-06-01 03:31:29 GMT
Hi, I was trying to test building openssl shared, and ran into an unexported symbol issue because the arginfo constant arrays are never exported for dll/so use. Could someone check out this patch and make sure it doesn't fubar windows in particular? The same patch will apply in all branches just fine. Thanks, Greg
Index: Zend/zend_arg_defs.c =================================================================== RCS file: /repository/ZendEngine2/zend_arg_defs.c,v retrieving revision 1.2.2.2.2.2.2.1 diff -u -r1.2.2.2.2.2.2.1 zend_arg_defs.c --- Zend/zend_arg_defs.c 31 Dec 2007 07:17:04 -0000 1.2.2.2.2.2.2.1 +++ Zend/zend_arg_defs.c 1 Jun 2008 03:26:00 -0000 <at> <at> -18,29 +18,29 <at> <at> /* $Id: zend_arg_defs.c,v 1.2.2.2.2.2.2.1 2007/12/31 07:17:04 sebastian Exp $ */ -ZEND_BEGIN_ARG_INFO(first_arg_force_ref, 0) +ZEND_API ZEND_BEGIN_ARG_INFO(first_arg_force_ref, 0) ZEND_ARG_PASS_INFO(1) ZEND_END_ARG_INFO(); -ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0) +ZEND_API ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0)(Continue reading)
RSS Feed