From da1f95ca0b51cbd5a41eb109f30358ae62443176 Mon Sep 17 00:00:00 2001 From: turbocat Date: Sun, 1 Aug 2021 18:44:17 +0000 Subject: [PATCH] Fixed build libcore.a git-svn-id: svn://kolibrios.org@9099 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ddk/Tupfile.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ddk/Tupfile.lua b/drivers/ddk/Tupfile.lua index 8ab9e7e77b..c78b3f75d6 100644 --- a/drivers/ddk/Tupfile.lua +++ b/drivers/ddk/Tupfile.lua @@ -75,6 +75,7 @@ DDK_SRC = { compile_gcc(DDK_SRC) tup.rule(OBJS, "kos32-ar -crs %o %f", "libddk.a"); tup.rule("core.S", "kos32-as %f -o %o", "core.o"); -tup.rule("core.o", "kos32-ar -crs %o %f","libcore.a"); +tup.rule("core.o", "kos32-ld -shared -s --out-implib %o --output-def core.def -o core.dll %f", {"libcore.a", extra_outputs={"core.def", "core.dll"}}); +