Revert "Revert "fixed STLDFLAG order in broken st Makefile""

This reverts commit 274d46ace0.

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.
This commit is contained in:
Hiltjo Posthuma 2017-09-15 11:16:37 +02:00
parent ee5cc8e903
commit b2ac917753

View File

@ -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