File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,11 @@ XZ_VERSION=5.8.1
106106ZSTD_VERSION=1.5.7
107107TIFF_VERSION=4.7.1
108108LCMS2_VERSION=2.17
109- ZLIB_NG_VERSION=2.2.5
109+ if [[ " $MB_ML_VER " == 2014 ]] && [[ " $PLAT " == " aarch64" ]]; then
110+ ZLIB_NG_VERSION=2.2.5
111+ else
112+ ZLIB_NG_VERSION=2.3.1
113+ fi
110114LIBWEBP_VERSION=1.6.0
111115BZIP2_VERSION=1.0.8
112116LIBXCB_VERSION=1.17.0
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def cmd_msbuild(
126126 "OPENJPEG" : "2.5.4" ,
127127 "TIFF" : "4.7.1" ,
128128 "XZ" : "5.8.1" ,
129- "ZLIBNG" : "2.2.5 " ,
129+ "ZLIBNG" : "2.3.1 " ,
130130}
131131V ["LIBPNG_XY" ] = "" .join (V ["LIBPNG" ].split ("." )[:2 ])
132132
@@ -167,12 +167,12 @@ def cmd_msbuild(
167167 "license" : "LICENSE.md" ,
168168 "patch" : {
169169 r"CMakeLists.txt" : {
170- "set_target_properties(zlib PROPERTIES OUTPUT_NAME zlibstatic${{SUFFIX}})" : "set_target_properties(zlib PROPERTIES OUTPUT_NAME zlib)" , # noqa: E501
170+ "set_target_properties(zlib-ng PROPERTIES OUTPUT_NAME zlibstatic${{SUFFIX}})" : "set_target_properties(zlib-ng PROPERTIES OUTPUT_NAME zlib)" , # noqa: E501
171171 },
172172 },
173173 "build" : [
174174 * cmds_cmake (
175- "zlib" , "-DBUILD_SHARED_LIBS:BOOL=OFF" , "-DZLIB_COMPAT:BOOL=ON"
175+ "zlib-ng " , "-DBUILD_SHARED_LIBS:BOOL=OFF" , "-DZLIB_COMPAT:BOOL=ON"
176176 ),
177177 ],
178178 "headers" : [r"z*.h" ],
You can’t perform that action at this time.
0 commit comments