Revert "Revert "fixed STLDFLAG order in broken st Makefile"" - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b2ac91775302fa4b8ce462a6e7bcfffa93923471
 (DIR) parent ee5cc8e903574bf629e5159334ae6b0fad6af402
 (HTM) 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:
         M Makefile                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) 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