mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-21 15:55:36 +08:00
Improve zlib Windows library detection for future zlib versions (#1070)
Co-authored-by: Hendrik Mennen <hmennen@gambio.ec1.de>
This commit is contained in:
@@ -35,6 +35,7 @@ class zlib extends WindowsLibraryBase
|
|||||||
'zlibstatic.lib',
|
'zlibstatic.lib',
|
||||||
'zs.lib',
|
'zs.lib',
|
||||||
'libzs.lib',
|
'libzs.lib',
|
||||||
|
'libz.lib',
|
||||||
];
|
];
|
||||||
foreach ($detect_list as $item) {
|
foreach ($detect_list as $item) {
|
||||||
if (file_exists(BUILD_LIB_PATH . '\\' . $item)) {
|
if (file_exists(BUILD_LIB_PATH . '\\' . $item)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user