diff options
-rw-r--r-- | meta/recipes-core/zlib/zlib_1.2.12.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.12.bb b/meta/recipes-core/zlib/zlib_1.2.12.bb index b999f13530..2491cb941f 100644 --- a/meta/recipes-core/zlib/zlib_1.2.12.bb +++ b/meta/recipes-core/zlib/zlib_1.2.12.bb | |||
@@ -6,7 +6,8 @@ SECTION = "libs" | |||
6 | LICENSE = "Zlib" | 6 | LICENSE = "Zlib" |
7 | LIC_FILES_CHKSUM = "file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7aa6c0" | 7 | LIC_FILES_CHKSUM = "file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7aa6c0" |
8 | 8 | ||
9 | SRC_URI = "https://zlib.net/${BP}.tar.xz \ | 9 | # The source tarball needs to be .gz as only the .gz ends up in fossils/ |
10 | SRC_URI = "https://zlib.net/${BP}.tar.gz \ | ||
10 | file://cc.patch \ | 11 | file://cc.patch \ |
11 | file://ldflags-tests.patch \ | 12 | file://ldflags-tests.patch \ |
12 | file://0001-configure-Pass-LDFLAGS-to-link-tests.patch \ | 13 | file://0001-configure-Pass-LDFLAGS-to-link-tests.patch \ |
@@ -17,7 +18,11 @@ SRC_URI = "https://zlib.net/${BP}.tar.xz \ | |||
17 | " | 18 | " |
18 | UPSTREAM_CHECK_URI = "http://zlib.net/" | 19 | UPSTREAM_CHECK_URI = "http://zlib.net/" |
19 | 20 | ||
20 | SRC_URI[sha256sum] = "7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18" | 21 | SRC_URI[sha256sum] = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9" |
22 | |||
23 | # When a new release is made the previous release is moved to fossils/, so add this | ||
24 | # to PREMIRRORS so it is also searched automatically. | ||
25 | PREMIRRORS:append = " https://zlib.net/ https://zlib.net/fossils/" | ||
21 | 26 | ||
22 | CFLAGS += "-D_REENTRANT" | 27 | CFLAGS += "-D_REENTRANT" |
23 | 28 | ||