blob: dbeeb5b4bd930c8c9cc0e35d5b6015b437baed8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
@@ -18,6 +18,7 @@
--module=*) NXT_PHP_MODULE="$value" ;;
--lib-path=*) NXT_PHP_LIB_PATH="$value" ;;
--lib-static) NXT_PHP_LIB_STATIC=yes ;;
+ --lib-name=*) NXT_PHP_LIB_NAME="$value" ;;
--help)
cat << END
@@ -103,7 +104,7 @@
else
if [ $NXT_PHP_MAJOR_VERSION -ge 8 ]; then
- NXT_PHP_LIB="-lphp"
+ NXT_PHP_LIB="-l${NXT_PHP_LIB_NAME:-php}"
else
NXT_PHP_LIB="-lphp${NXT_PHP_VERSION%%.*}"
fi
|