diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-30 06:13:32 -0800 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-30 06:13:32 -0800 |
commit | d95729f4588acca4a2fbd74043cf2fb32b9ba94f (patch) | |
tree | c0bcb12014029f24ff493cc85d3f46417c66a8f0 /Examples | |
parent | 678fb09044c87a2f4bf843bb55eb4b057f1c131a (diff) | |
parent | 7c042cfcee984e16e7024a661c95d2cd3eb0b50b (diff) |
Merge pull request #10 from BullSoft/master
Add macros for compatible with PHP 5.3
Diffstat (limited to 'Examples')
-rw-r--r-- | Examples/simple/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Examples/simple/Makefile b/Examples/simple/Makefile index cfea8cf..a85c7f8 100644 --- a/Examples/simple/Makefile +++ b/Examples/simple/Makefile @@ -1,14 +1,16 @@ CPP = g++ RM = rm -f -CPP_FLAGS = -Wall -c -I. -O2 -std=c++11 +CPP_FLAGS = -Wall -c -I. -I/home/work/include/ -O2 -std=c++11 + +PREFIX = /home/work/ -PREFIX = /usr #Edit these lines to correspond with your own directories -LIBRARY_DIR = ${PREFIX}/lib/php5/20121212 -PHP_CONFIG_DIR = /etc/php5/cli/conf.d +LIBRARY_DIR = ${PREFIX}/local/php/lib/php/extensions/no-debug-non-zts-20090626/ + +PHP_CONFIG_DIR = /home/work/local/php/lib/ LD = g++ -LD_FLAGS = -Wall -shared -O2 +LD_FLAGS = -Wall -Wl,-rpath,/home/work/lib -shared -O2 -L/home/work/lib RESULT = simple.so PHPINIFILE = 30-phpcpp.ini |