summaryrefslogtreecommitdiff
path: root/Examples/Globals/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Globals/Makefile')
-rw-r--r--Examples/Globals/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Globals/Makefile b/Examples/Globals/Makefile
index 764fb5f..a38d8c8 100644
--- a/Examples/Globals/Makefile
+++ b/Examples/Globals/Makefile
@@ -4,7 +4,7 @@ CPP_FLAGS = -Wall -c -I. -O2 -std=c++11
PREFIX = /usr
#Edit these lines to correspond with your own directories
-LIBRARY_DIR = ${PREFIX}/lib/php5/20121212
+LIBRARY_DIR = $(shell ${PHP_CONFIG} --extension-dir)
PHP_CONFIG_DIR = /etc/php5/cli/conf.d
LD = g++