diff options
author | jgmdev <jgmdev@gmail.com> | 2014-03-24 08:45:35 -0400 |
---|---|---|
committer | jgmdev <jgmdev@gmail.com> | 2014-03-24 08:45:35 -0400 |
commit | 9299d14ab942546a693533cb6c14d0d3c18a4849 (patch) | |
tree | 77d53245403f67f533ded54f0429f116fa10c772 /Makefile | |
parent | 930ab4880b65885322eb7ca4772b8cdb49a2b0ae (diff) |
Call php-config to retreive php includes dir and binary on Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ # will find sub-directories named TSRM, Zend, ext and main. # -PHP_DIR = /usr/include/php5 +PHP_DIR = `php-config --include-dir` # @@ -27,7 +27,7 @@ PHP_DIR = /usr/include/php5 # You can see the command "whereis php" # -PHP_BIN = /usr/bin/php +PHP_BIN = `php-config --php-binary` # |