]> git.stg.codes - stg.git/blobdiff - projects/sgauth/Makefile
Fix libs order (for --as-needed)
[stg.git] / projects / sgauth / Makefile
index fe588238856ebd860a08ad5921c056943a8ebae4..98867c5f702342a613e851b5e6f34f168ae33ba1 100644 (file)
@@ -11,14 +11,14 @@ SRCS = ./main.cpp \
        ./web.cpp
 
 STGLIBS =  conffiles \
-           ia \
            crypto \
+           ia \
            common
 
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
-LIBS += $(LIB_THREAD) $(addprefix -lstg,$(STGLIBS))
+LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD)
 
 ifneq ($(OS),linux)
 LIBS += -lintl \