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