summaryrefslogtreecommitdiff
path: root/Examples/FunctionVoid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/FunctionVoid/Makefile')
-rw-r--r--Examples/FunctionVoid/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/FunctionVoid/Makefile b/Examples/FunctionVoid/Makefile
index fc14780..fbf4bdd 100644
--- a/Examples/FunctionVoid/Makefile
+++ b/Examples/FunctionVoid/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++