From 28cc04c9f076144a92ec401f340950b065876788 Mon Sep 17 00:00:00 2001 From: Michael Jerris <mike@jerris.com> Date: Thu, 26 Mar 2009 17:02:30 +0000 Subject: [PATCH] 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 --- libs/esl/php/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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