./main.cpp \
./pidfile.cpp \
./plugin_runner.cpp \
+ ./plugin_mgr.cpp \
./settings_impl.cpp \
./services_impl.cpp \
./stg_timer.cpp \
STGLIBS = scriptexecuter \
dotconfpp \
- locker \
logger \
common
CXXFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
CFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
-LDFLAGS += -Wl,-E $(STGLIBS_LIBS)
+
+ifneq ($(OS),darwin)
+LDFLAGS += -Wl,-E
+endif
+
+LDFLAGS += $(STGLIBS_LIBS)
.PHONY: all clean distclean libs plugins install uninstall install-bin install-data
all: libs plugins $(PROG)