提交 63e7cfc8 authored 作者: Raymond Chandler's avatar Raymond Chandler

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
上级 bdb8bd06
......@@ -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
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论