From 274d46ace00003d1df718b974d17642cbce167d5 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 13 Sep 2017 22:40:36 +0200 Subject: [PATCH] Revert "fixed STLDFLAG order in broken st Makefile" This reverts commit 7f990328e4fec8dfaaad311cb8af2304b58c872e. this was wrong as pointed out by k0ga: "STLDFLAGS is about flags to the linker, for example -L not about -l for that reason it must go before the object list". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c678ead..128ee9d 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ x.o: arg.h st.h win.h $(OBJ): config.h config.mk st: $(OBJ) - $(CC) -o $@ $(OBJ) $(STLDFLAGS) + $(CC) $(STLDFLAGS) -o $@ $(OBJ) clean: rm -f st $(OBJ) st-$(VERSION).tar.gz -- 2.43.0