From 69eda3cf655d0b0cb7f8acbf2133ccbfb24ae661 Mon Sep 17 00:00:00 2001 From: turbocat Date: Sun, 23 May 2021 15:44:58 +0000 Subject: [PATCH] whois: - update build git-svn-id: svn://kolibrios.org@8731 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/whois/Makefile | 2 +- programs/network/whois/Tupfile.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/network/whois/Makefile b/programs/network/whois/Makefile index 0a24e30508..56637cc996 100755 --- a/programs/network/whois/Makefile +++ b/programs/network/whois/Makefile @@ -9,7 +9,7 @@ KPACK=kpack SRC=whois.c CFLAGS= -I$(KLIBC_DIR)/include LFLAGS= -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o -LIBS = -lnetwork -lc.obj +LIBS = -ltcc -lnetwork -lc.obj all: $(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME) diff --git a/programs/network/whois/Tupfile.lua b/programs/network/whois/Tupfile.lua index f74530266a..39e31bbdff 100644 --- a/programs/network/whois/Tupfile.lua +++ b/programs/network/whois/Tupfile.lua @@ -4,7 +4,7 @@ TCC="kos32-tcc" CFLAGS = "-I../../develop/libraries/kolibri-libc/include" LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L ../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib " -LIBS = "-lnetwork -lc.obj" +LIBS = "-ltcc -lnetwork -lc.obj" COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS) tup.rule("whois.c", COMMAND .. tup.getconfig("KPACK_CMD"), "whois")