]> git.stg.codes - stg.git/blobdiff - projects/stargazer/Makefile
Fix libs order (for --as-needed)
[stg.git] / projects / stargazer / Makefile
index 33027aaa62ab74cc6e8b88e799153b10617801c6..97c2e8566c3c4a95055bfe526c446cf9c18dc84c 100644 (file)
@@ -24,16 +24,16 @@ SRCS = ./admin_impl.cpp \
        ./user_property.cpp \
        ./users_impl.cpp
 
-STGLIBS = logger \
-         locker \
-          common \
-          scriptexecuter \
-          dotconfpp
+STGLIBS = scriptexecuter \
+          dotconfpp \
+         locker \
+         logger \
+         common
 
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
-LIBS += -lexpat $(LIB_THREAD) $(addprefix -lstg,$(STGLIBS))
+LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD)
 
 ifeq ($(OS),linux)
 LIBS += -ldl