From 485ec6be86497fe2ec1949f62c33bff7b7a9bec2 Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Mon, 6 Oct 2014 15:27:41 +0100 Subject: Use specified php-config for linker/compiler flags rather than the system default. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 091e8f0..d2fcef3 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ ARCHIVER = ar rcs COMPILER_FLAGS = -Wall -c -g -std=c++11 SHARED_COMPILER_FLAGS = -fpic STATIC_COMPILER_FLAGS = -PHP_COMPILER_FLAGS = ${COMPILER_FLAGS} `php-config --includes` +PHP_COMPILER_FLAGS = ${COMPILER_FLAGS} `${PHP_CONFIG} --includes` HHVM_COMPILER_FLAGS = ${COMPILER_FLAGS} # @@ -105,7 +105,7 @@ HHVM_COMPILER_FLAGS = ${COMPILER_FLAGS} # LINKER_FLAGS = -shared -PHP_LINKER_FLAGS = ${LINKER_FLAGS} `php-config --ldflags` +PHP_LINKER_FLAGS = ${LINKER_FLAGS} `${PHP_CONFIG} --ldflags` HHVM_LINKER_FLAGS = ${LINKER_FLAGS} -- cgit v1.2.3