commit b2ac91775302fa4b8ce462a6e7bcfffa93923471
parent ee5cc8e903574bf629e5159334ae6b0fad6af402
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 15 Sep 2017 11:16:37 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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