Skip to content

Commit

Permalink
Merge pull request #134 from nikarh/fixed-zlib-link
Browse files Browse the repository at this point in the history
Fixed zlib link
  • Loading branch information
Princess-of-Sleeping authored Sep 16, 2023
2 parents 5f970b5 + 5718043 commit bc2740a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(GCC_VERSION 10.3.0)
set(GCC_HASH SHA256=64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344)

set(ZLIB_VERSION 1.2.13)
set(ZLIB_HASH SHA256=d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98)
set(ZLIB_HASH SHA256=b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30)

set(LIBELF_VERSION 0.8.13)
set(LIBELF_HASH SHA256=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d)
Expand Down Expand Up @@ -123,7 +123,7 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi
set(suffix "_${toolchain_suffix}")

ExternalProject_Add(zlib${suffix}
URL https://zlib.net/zlib-${ZLIB_VERSION}.tar.xz
URL https://www.zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz
URL_HASH ${ZLIB_HASH}
DOWNLOAD_DIR ${DOWNLOAD_DIR}
PATCH_COMMAND patch -d <SOURCE_DIR> -p1 -t -N < ${PROJECT_SOURCE_DIR}/patches/zlib.patch
Expand Down

0 comments on commit bc2740a

Please sign in to comment.