summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php/php_exec_native.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/php/php/php_exec_native.patch')
-rw-r--r--meta-oe/recipes-devtools/php/php/php_exec_native.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/php/php/php_exec_native.patch b/meta-oe/recipes-devtools/php/php/php_exec_native.patch
new file mode 100644
index 0000000000..31be1b70b7
--- /dev/null
+++ b/meta-oe/recipes-devtools/php/php/php_exec_native.patch
@@ -0,0 +1,19 @@
1---
2 sapi/cli/config.m4 | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- php-5.4.14.orig/sapi/cli/config.m4
6+++ php-5.4.14/sapi/cli/config.m4
7@@ -34,11 +34,11 @@ if test "$PHP_CLI" != "no"; then
8 BUILD_CLI="\$(LIBTOOL) --mode=link \$(CC) -export-dynamic \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(EXTRA_LDFLAGS_PROGRAM) \$(LDFLAGS) \$(PHP_RPATHS) \$(PHP_GLOBAL_OBJS) \$(PHP_BINARY_OBJS) \$(PHP_CLI_OBJS) \$(EXTRA_LIBS) \$(ZEND_EXTRA_LIBS) -o \$(SAPI_CLI_PATH)"
9 ;;
10 esac
11
12 dnl Set executable for tests
13- PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)"
14+ PHP_EXECUTABLE="${PHP_NATIVE_DIR}/php"
15 PHP_SUBST(PHP_EXECUTABLE)
16
17 dnl Expose to Makefile
18 PHP_SUBST(SAPI_CLI_PATH)
19 PHP_SUBST(BUILD_CLI)