From 1e44434b5c2523f1620f540fbc3a9acb09da9e60 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 9 Mar 2006 20:58:36 +0000 Subject: [PATCH] (client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS). The old version didn't work on some systems. --- Make.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Make.mk b/Make.mk index 00e30a2fc..e3fe272d6 100644 --- a/Make.mk +++ b/Make.mk @@ -148,6 +148,7 @@ CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wnested-externs -Wredundant-decls endif LDLIBS += -lm +$(client): LDLIBS += $(termlibs) ### Advertized goals @@ -248,7 +249,7 @@ info.html/%.html: info/%.t $(server): $(filter src/server/% src/lib/as/% src/lib/commands/% src/lib/player/% src/lib/subs/% src/lib/update/%, $(obj)) $(empth_obj) $(libs) $(empth_lib) $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ -$(client): $(filter src/client/%, $(obj)) $(termlibs) +$(client): $(filter src/client/%, $(obj)) $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(util): $(libs) -- 2.43.0