summaryrefslogtreecommitdiff
path: root/php/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-07-31 19:00:11 +0200
committerJose <jose@zeroc.com>2015-07-31 19:00:11 +0200
commita379d5f8462f5aa7026dbaa2e5025c912a3e13c7 (patch)
tree4cd74a70d54ca31a79f6f2b42884e69ff4b83cda /php/src
parentICE-6620 Java process left around with gulp tests (diff)
downloadice-a379d5f8462f5aa7026dbaa2e5025c912a3e13c7.tar.bz2
ice-a379d5f8462f5aa7026dbaa2e5025c912a3e13c7.tar.xz
ice-a379d5f8462f5aa7026dbaa2e5025c912a3e13c7.zip
ICE-6884 - use php-config to configure PHP builds
Diffstat (limited to 'php/src')
-rw-r--r--php/src/IcePHP/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/IcePHP/Makefile b/php/src/IcePHP/Makefile
index acdc3e94b4c..d43c7730cd5 100644
--- a/php/src/IcePHP/Makefile
+++ b/php/src/IcePHP/Makefile
@@ -27,9 +27,9 @@ OBJS = Communicator.o \
include $(top_srcdir)/config/Make.rules.php
-CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(PHP_FLAGS) -DPHP_DEBUG
+CPPFLAGS := -I. $(CPPFLAGS) $(ICE_FLAGS) $(shell php-config --includes)
-LINKWITH := $(ICE_LIBS) $(PHP_LIBS) $(CXXLIBS)
+LINKWITH := $(ICE_LIBS) $(CXXLIBS)
$(libdir)/$(LIBNAME): $(OBJS)
rm -f $@