Trying to fix the ZLIB build

git-svn-id: svn://kolibrios.org@8770 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-06-05 21:44:42 +00:00
parent 3b35056c50
commit d6f4d38cfd

View File

@ -10,5 +10,8 @@ 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/<libz>"})
table.insert(LIBDEPS, "../../lib/<libc.dll.a>")
table.insert(LIBDEPS, "../../lib/<libdll.a>")
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/<libz.dll.a>"}})