]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
work around broken php-config that only takes one option at a time
authorMichael Jerris <mike@jerris.com>
Thu, 26 Mar 2009 17:02:30 +0000 (17:02 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 26 Mar 2009 17:02:30 +0000 (17:02 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12793 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/php/Makefile

index 5e1f41a16b5bc60ac5ed5ab62ca5be7f1962b01b..0ebd68bfce1191dd22895d65c50d21bceaa47921 100644 (file)
@@ -1,5 +1,7 @@
 LOCAL_CFLAGS=$(shell php-config --includes)
-LOCAL_LDFLAGS=$(shell php-config --ldflags --libs)
+PHP_LDFLAGS=$(shell php-config --ldflags)
+PHP_LIBS=$(shell php-config --libs)
+LOCAL_LDFLAGS=$(PHP_LDFLAGS) $(PHP_LIBS)
 WRAP_GCC_WARNING_SILENCE=-Wno-unused-label -Wno-unused-function
 
 all: ESL.so