From: Hiltjo Posthuma Date: Fri, 15 Sep 2017 09:16:37 +0000 (+0200) Subject: Revert "Revert "fixed STLDFLAG order in broken st Makefile"" X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b2ac91775302fa4b8ce462a6e7bcfffa93923471;p=st.git Revert "Revert "fixed STLDFLAG order in broken st Makefile"" This reverts commit 274d46ace00003d1df718b974d17642cbce167d5. Sorry, the original commit was correct after all. It allows has the correct link order and supports static-linking also. Just a reminder: it is important to give a (brief) rationale of the patch intentions. --- diff --git a/Makefile b/Makefile index 128ee9d..c678ead 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) $(STLDFLAGS) -o $@ $(OBJ) + $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: rm -f st $(OBJ) st-$(VERSION).tar.gz