From e1dc57a131fe297882a9d6dbf2d20fc7be662123 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Fri, 3 Apr 2015 09:28:38 +0200 Subject: added DlUnrestricted example extension, modified makefiles to use php-config to find out the extension-dir --- Examples/Exceptions/ExceptionThrow/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examples/Exceptions/ExceptionThrow') 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++ -- cgit v1.2.3