diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-01-28 18:26:27 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-12 15:56:31 +0100 |
commit | 3f8b51338432686307f34a1ea44e6ff9a37e6399 (patch) | |
tree | a3e58f977f9edfe7424b32511f2761f7ee15f1c4 /package/php/php-02-dlopen.patch | |
parent | 24bb549098b3a0bb578a9c3724fcc75aa4764d26 (diff) | |
download | buildroot-3f8b51338432686307f34a1ea44e6ff9a37e6399.tar.gz buildroot-3f8b51338432686307f34a1ea44e6ff9a37e6399.zip |
php: fix for external extensions
Adjust phpize and php-config to make them work for cross-compiled
external extensions.
While at it also fix dl* issues that prevent said extensions from
loading.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php/php-02-dlopen.patch')
-rw-r--r-- | package/php/php-02-dlopen.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/php/php-02-dlopen.patch b/package/php/php-02-dlopen.patch new file mode 100644 index 0000000000..1dd009f799 --- /dev/null +++ b/package/php/php-02-dlopen.patch @@ -0,0 +1,25 @@ +PHP can't be AUTORECONF with any modern autotools and the dl tests are +pretty bad for cross-compilation, so just kill the needed ac_cv value unsets +so they can flow through from the package makefile. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> + +diff -Nura php-5.5.8.orig/configure php-5.5.8/configure +--- php-5.5.8.orig/configure 2014-01-28 17:41:33.943851727 -0300 ++++ php-5.5.8/configure 2014-01-28 17:42:53.785493795 -0300 +@@ -16985,7 +16985,6 @@ + + + +- unset ac_cv_func_dlopen + unset ac_cv_func___dlopen + unset found + +@@ -17013,7 +17012,6 @@ + + *) + +- unset ac_cv_lib_dl_dlopen + unset ac_cv_lib_dl___dlopen + unset found + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |