aboutsummaryrefslogtreecommitdiff
path: root/binary
diff options
context:
space:
mode:
authorLuau Project <luau.project@gmail.com>2026-08-11 21:36:19 -0300
committerGitHub <noreply@github.com>2026-08-11 21:36:19 -0300
commit583233460e2a1e22075fa15a5c2fa8feacb16165 (patch)
tree3a8d7741e46595761f5a163903c84af2623c0d2b /binary
parent44a63f61baf90d2187e98415195f8e20fad4050b (diff)
downloadluarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.tar.gz
luarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.tar.bz2
luarocks-583233460e2a1e22075fa15a5c2fa8feacb16165.zip
Bump lua-zlib from 1.2 to 1.4 as part of Lua 5.5 support (#1858)
* chore(deps): bump lua-zlib to 1.4 * refactor: adjust static lib for `lua-zlib` 1.4 rockspec * refactor(ci): remove unused copy of zlib import lib for MSVC
Diffstat (limited to 'binary')
-rw-r--r--binary/Makefile.windows2
-rwxr-xr-xbinary/all_in_one2
-rw-r--r--binary/lua-zlib-1.4-0.rockspec (renamed from binary/lua-zlib-1.2-0.rockspec)28
3 files changed, 24 insertions, 8 deletions
diff --git a/binary/Makefile.windows b/binary/Makefile.windows
index 65445c47..c243a0a7 100644
--- a/binary/Makefile.windows
+++ b/binary/Makefile.windows
@@ -57,7 +57,7 @@ $(WINDOWS_DEPS_DIR)/lib/libz.a: $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION)
57 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && cp zlib.h zconf.h ../../$(WINDOWS_DEPS_DIR)/include 57 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && cp zlib.h zconf.h ../../$(WINDOWS_DEPS_DIR)/include
58 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && $(MINGW_PREFIX)-strip -g libz.a 58 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && $(MINGW_PREFIX)-strip -g libz.a
59 mkdir -p $(@D) 59 mkdir -p $(@D)
60 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && cp libz.a ../../$(WINDOWS_DEPS_DIR)/lib 60 cd $(BUILD_WINDOWS_DEPS_DIR)/zlib-$(ZLIB_VERSION) && cp libz.a ../../$(WINDOWS_DEPS_DIR)/lib/libzlib.a
61 61
62$(BUILD_WINDOWS_DEPS_DIR)/bzip2-$(BZIP2_VERSION).tar.gz: 62$(BUILD_WINDOWS_DEPS_DIR)/bzip2-$(BZIP2_VERSION).tar.gz:
63 mkdir -p $(@D) 63 mkdir -p $(@D)
diff --git a/binary/all_in_one b/binary/all_in_one
index 1b096936..4e0fa4d9 100755
--- a/binary/all_in_one
+++ b/binary/all_in_one
@@ -465,7 +465,7 @@ local function main()
465 md5 = "md5", 465 md5 = "md5",
466 luasocket = "./binary/luasocket-3.1.0-1.rockspec", 466 luasocket = "./binary/luasocket-3.1.0-1.rockspec",
467 luasec = "./binary/luasec-1.3.2-1.rockspec", 467 luasec = "./binary/luasec-1.3.2-1.rockspec",
468 ["lua-zlib"] = "./binary/lua-zlib-1.2-0.rockspec", 468 ["lua-zlib"] = "./binary/lua-zlib-1.4-0.rockspec",
469 ["lua-bz2"] = "./binary/lua-bz2-0.2.1-1.rockspec", 469 ["lua-bz2"] = "./binary/lua-bz2-0.2.1-1.rockspec",
470 luaposix = if_platform("unix", "./binary/luaposix-35.1-1.rockspec"), 470 luaposix = if_platform("unix", "./binary/luaposix-35.1-1.rockspec"),
471 luafilesystem = "luafilesystem", 471 luafilesystem = "luafilesystem",
diff --git a/binary/lua-zlib-1.2-0.rockspec b/binary/lua-zlib-1.4-0.rockspec
index 9d3adc8f..bd6cbec3 100644
--- a/binary/lua-zlib-1.2-0.rockspec
+++ b/binary/lua-zlib-1.4-0.rockspec
@@ -1,8 +1,8 @@
1package = "lua-zlib" 1package = "lua-zlib"
2version = "1.2-0" 2version = "1.4-0"
3source = { 3source = {
4 url = "git+https://github.com/brimworks/lua-zlib.git", 4 url = "git+https://github.com/brimworks/lua-zlib.git",
5 tag = "v1.2", 5 tag = "v1.4",
6} 6}
7description = { 7description = {
8 summary = "Simple streaming interface to zlib for Lua.", 8 summary = "Simple streaming interface to zlib for Lua.",
@@ -16,12 +16,11 @@ description = {
16 license = "MIT" 16 license = "MIT"
17} 17}
18dependencies = { 18dependencies = {
19 "lua >= 5.1, <= 5.4" 19 "lua >= 5.1, <= 5.5"
20} 20}
21external_dependencies = { 21external_dependencies = {
22 ZLIB = { 22 ZLIB = {
23 header = "zlib.h", 23 header = "zlib.h"
24 library = "z",
25 } 24 }
26} 25}
27 26
@@ -33,7 +32,24 @@ build = {
33 libraries = { "z" }, 32 libraries = { "z" },
34 defines = { "LZLIB_COMPAT" }, 33 defines = { "LZLIB_COMPAT" },
35 incdirs = { "$(ZLIB_INCDIR)" }, 34 incdirs = { "$(ZLIB_INCDIR)" },
36 libdirs = { "$(ZLIB_LIBDIR)" }, 35 libdirs = { "$(ZLIB_LIBDIR)" }
37 } 36 }
38 }, 37 },
38 platforms = {
39 windows = {
40 modules = {
41 zlib = {
42 libraries = { "zlib" }
43 }
44 }
45 },
46 mingw = {
47 modules = {
48 zlib = {
49 libraries = { "zlib1" },
50 libdirs = { "$(ZLIB_INCDIR)/../bin" }
51 }
52 }
53 }
54 }
39} 55}