diff options
-rw-r--r-- | ChangeLog.adoc | 4 | ||||
-rw-r--r-- | cmake/FindPHP.cmake | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 624d2eade..10f1da713 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -23,6 +23,10 @@ Bug fixes:: * irc: fix display of country code in message 344 received as whois geo info (issue #1736) +Build:: + + * php: fix detection of PHP 8.2 on Alpine 3.18 + [[v4.0.1]] == Version 4.0.1 (2023-06-30) diff --git a/cmake/FindPHP.cmake b/cmake/FindPHP.cmake index c5b628bf4..c13ee729e 100644 --- a/cmake/FindPHP.cmake +++ b/cmake/FindPHP.cmake @@ -48,7 +48,7 @@ if(NOT PHP_FOUND) execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) if(${PHP_VERSION} MATCHES "^[78]") find_library(PHP_LIB - NAMES php8.2 php8.1 php8.0 php8 php7.4 php7.3 php7.2 php7.1 php7.0 php7 php + NAMES php8.2 php82 php8.1 php81 php8.0 php80 php8 php7.4 php74 php7.3 php73 php7.2 php72 php7.1 php71 php7.0 php70 php7 php HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64 ) if(PHP_LIB) |