Fix detecting the so module for the apcu_bc PHP extension (#544)

Test: apcu_bc
pull/538/head 1.4.30
Michele Locati 2022-03-25 10:02:46 +01:00 committed by GitHub
parent 65347eb080
commit 36404177eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1377,6 +1377,9 @@ getCompilationProcessorCount() {
# The absolute path of the PHP extension file (or nothing if the file can't be found)
getModuleFullPath() {
case "$1" in
apcu_bc)
getModuleFullPath_path="$PHP_EXTDIR/apc.so"
;;
*)
getModuleFullPath_path="$PHP_EXTDIR/$1.so"
;;