]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hack to automatically load ESL.so
authorRaymond Chandler <intralanman@freeswitch.org>
Tue, 1 Sep 2009 03:52:29 +0000 (03:52 +0000)
committerRaymond Chandler <intralanman@freeswitch.org>
Tue, 1 Sep 2009 03:52:29 +0000 (03:52 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14707 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/php/Makefile

index 0c3f50379100d5508029de772959be29831217df..5458be5ba5a1270b68cfcb1a3f7ad86aabdb2151 100644 (file)
@@ -26,3 +26,4 @@ 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)
+       echo 'extension=ESL.so' > $(shell php-config --configure-options | tr " " "\n" | grep -- --with-config-file-scan-dir | cut -f2 -d=)/esl.ini