mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Fix extension_dir variable quoting in php-config (#13963)
When configuring the build with: ./configure EXTENSION_DIR="\${prefix}/lib/php/20230901" The $prefix variable wasn't replaced when running the installed script: php-config --extension-dir It shows ${prefix}/lib/php/20230901 instead of /usr/local/lib/php/20230901 because of single quotes.
This commit is contained in:
parent
46b6ad6dae
commit
7d6bb3e86d
@ -11,7 +11,7 @@ lib_dir="@orig_libdir@"
|
|||||||
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
|
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
|
||||||
ldflags="@PHP_LDFLAGS@"
|
ldflags="@PHP_LDFLAGS@"
|
||||||
libs="@EXTRA_LIBS@"
|
libs="@EXTRA_LIBS@"
|
||||||
extension_dir='@EXTENSION_DIR@'
|
extension_dir="@EXTENSION_DIR@"
|
||||||
man_dir=`eval echo @mandir@`
|
man_dir=`eval echo @mandir@`
|
||||||
program_prefix="@program_prefix@"
|
program_prefix="@program_prefix@"
|
||||||
program_suffix="@program_suffix@"
|
program_suffix="@program_suffix@"
|
||||||
|
Loading…
Reference in New Issue
Block a user