From 188fe71c101e74591dd510a301aae982e7e8b9aa Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Sun, 6 Jun 2021 01:51:04 +0000 Subject: [PATCH] Fix autobuild. git-svn-id: svn://kolibrios.org@8771 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/zlib/Tupfile.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/sdk/sources/zlib/Tupfile.lua b/contrib/sdk/sources/zlib/Tupfile.lua index 3249c45b4c..a1a139fd4f 100755 --- a/contrib/sdk/sources/zlib/Tupfile.lua +++ b/contrib/sdk/sources/zlib/Tupfile.lua @@ -10,8 +10,7 @@ CFLAGS = CFLAGS .. " -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__" compile_gcc{"adler32.c", "compress.c", "crc32.c", "deflate.c", "gzclose.c", "gzlib.c", "gzread.c", "gzwrite.c", "infback.c", "inffast.c", "inflate.c", "inftrees.c", "trees.c", "uncompr.c", "zutil.c"} --tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libz.a", "../../lib/"}) -table.insert(LIBDEPS, "../../lib/") -table.insert(LIBDEPS, "../../lib/") +OBJS.extra_inputs = {"../../lib/", "../../lib/"} tup.rule(OBJS, "kos32-ld zlib.def" .. LDFLAGS .. "-o %o %f -lgcc -lc.dll -ldll " .. tup.getconfig("KPACK_CMD"), {"../../bin/libz.dll", extra_outputs = {"../../lib/libz.dll.a", "../../lib/"}})