Revision
14707
Author
intralanman
Date
2009-08-31 22:52:29 -0500 (Mon, 31 Aug 2009)

Log Message

hack to automatically load ESL.so

Modified Paths

Diff

Modified: freeswitch/trunk/libs/esl/php/Makefile (14706 => 14707)


--- freeswitch/trunk/libs/esl/php/Makefile	2009-08-31 20:38:23 UTC (rev 14706)
+++ freeswitch/trunk/libs/esl/php/Makefile	2009-09-01 03:52:29 UTC (rev 14707)
@@ -26,3 +26,4 @@
 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