From 63e7cfc8150b01fd9297952ac05629cdb7384e87 Mon Sep 17 00:00:00 2001 From: Raymond Chandler Date: Thu, 22 Oct 2009 14:15:07 +0000 Subject: [PATCH] make install a little smarter about finding the include_path git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15192 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/esl/php/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/esl/php/Makefile b/libs/esl/php/Makefile index fd760a454c..3095ea2d29 100644 --- a/libs/esl/php/Makefile +++ b/libs/esl/php/Makefile @@ -26,5 +26,5 @@ reswig: swigclean esl_wrap.cpp install: ESL.so cp ESL.so $(shell php-config --extension-dir) - cp ESL.php $(shell php -r 'phpinfo();' | grep include_path | cut -d: -f2) + cp ESL.php $(shell php -r 'echo ini_get("include_path");' | cut -d: -f2) echo 'extension=ESL.so' > $(shell php-config --configure-options | tr " " "\n" | grep -- --with-config-file-scan-dir | cut -f2 -d=)/esl.ini