]> git.stg.codes - stg.git/blobdiff - projects/stargazer/Makefile
Simplified STG_LOCKER.
[stg.git] / projects / stargazer / Makefile
index 9dfc0b51e0cec512172e6a71aef8ce1a46b3d463..1b109fefd32f603cedac22ba5c8afc6fdd504a5e 100644 (file)
@@ -26,7 +26,6 @@ SRCS = ./admin_impl.cpp \
 
 STGLIBS = scriptexecuter \
           dotconfpp \
-         locker \
          logger \
          common
 
@@ -47,7 +46,12 @@ OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
 
 CXXFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
 CFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
+
+ifneq ($(OS),darwin)
 LDFLAGS += -Wl,-E $(STGLIBS_LIBS)
+endif
+
+LDFLAGS += $(STGLIBS_LIBS)
 
 .PHONY: all clean distclean libs plugins install uninstall install-bin install-data
 all: libs plugins $(PROG)