summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Evans <alanevans@14023.no-reply.drupal.org>2014-10-06 15:27:41 +0100
committerAlan Evans <alanevans@14023.no-reply.drupal.org>2014-10-06 15:27:41 +0100
commit485ec6be86497fe2ec1949f62c33bff7b7a9bec2 (patch)
tree63d53662aedd3ce7bd60fccf25cb3d05f3463dba /Makefile
parent3ddc5c9e3777fff5c17f74902bb5ddc7cdaf1eb1 (diff)
Use specified php-config for linker/compiler flags rather than the system default.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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}