From: Michael Jerris Date: Thu, 26 Mar 2009 17:02:30 +0000 (+0000) Subject: work around broken php-config that only takes one option at a time X-Git-Tag: v1.0.4~1373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28cc04c9f076144a92ec401f340950b065876788;p=thirdparty%2Ffreeswitch.git work around broken php-config that only takes one option at a time git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12793 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/php/Makefile b/libs/esl/php/Makefile index 5e1f41a16b..0ebd68bfce 100644 --- a/libs/esl/php/Makefile +++ b/libs/esl/php/Makefile @@ -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