Skip to content

Commit 27cf664

Browse files
committed
Fix condition
See php#16801 (comment).
1 parent 48e14cf commit 27cf664

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

win32/build/confutils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3628,8 +3628,7 @@ function ADD_MAKEFILE_FRAGMENT(src_file)
36283628

36293629
function SETUP_ZLIB_LIB(target, path_to_check)
36303630
{
3631-
return ((PHP_ZLIB == "no" || PHP_ZLIB_SHARED) && CHECK_LIB("zlib_a.lib;zlib.lib", target, path_to_check)) ||
3632-
(PHP_ZLIB == "yes" && !PHP_ZLIB_SHARED);
3631+
return (PHP_ZLIB != "no" && !PHP_ZLIB_SHARED) || CHECK_LIB("zlib_a.lib;zlib.lib", target, path_to_check);
36333632
}
36343633

36353634
function SETUP_OPENSSL(target, path_to_check, common_name, use_env, add_dir_part, add_to_flag_only)

0 commit comments

Comments
 (0)