php: fix libxml2 build failure
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 26 Apr 2013 02:39:50 +0000 (02:39 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 26 Apr 2013 14:42:06 +0000 (16:42 +0200)
commite08e72d7d1c9f1482217e07255f874187bb5dc63
tree9be791c87596516ba06f19b02d1487b46c6c7cd7
parent01bc22aa03bfe3e623b37c76b21e63596b6c2298
php: fix libxml2 build failure

The libxml2 build test uses the PHP_TEST_BUILD macro which in turn uses
AC_TRY_RUN which is bad for cross compilations.
Force php_cv_libxml_build_works to yes when libxml2 is selected. Fixes:
http://autobuild.buildroot.net/results/8b45a1260ab6ae15dc59a5d6b5b98698ec3e7bbe/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/php/php.mk