summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-09-15 11:16:37 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-09-15 11:16:37 +0200
commitb2ac91775302fa4b8ce462a6e7bcfffa93923471 (patch)
tree2225cdfaa592691f8b5676f0a900bf2877edd432
parentee5cc8e903574bf629e5159334ae6b0fad6af402 (diff)
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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