summaryrefslogtreecommitdiff
path: root/Examples/FunctionReturnValue
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-04-03 09:28:38 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-04-03 09:28:38 +0200
commite1dc57a131fe297882a9d6dbf2d20fc7be662123 (patch)
treef64ecd33a5bba9d82b939fe75fcf7cf8d55c71dc /Examples/FunctionReturnValue
parent3335c6c9aad6a276533a055f269c8ff12af0e4a7 (diff)
added DlUnrestricted example extension, modified makefiles to use php-config to find out the extension-dir
Diffstat (limited to 'Examples/FunctionReturnValue')
-rw-r--r--Examples/FunctionReturnValue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/FunctionReturnValue/Makefile b/Examples/FunctionReturnValue/Makefile
index cf41971..0a2e1c3 100644
--- a/Examples/FunctionReturnValue/Makefile
+++ b/Examples/FunctionReturnValue/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++