git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Portable sed.
[stg.git]
/
projects
/
rscriptd
/
Makefile
diff --git
a/projects/rscriptd/Makefile
b/projects/rscriptd/Makefile
index ce0b76dce38c50fddce86e887aad56e16d05363a..4c960db72b2fb61df756017224bee48d560fc3bb 100644
(file)
--- a/
projects/rscriptd/Makefile
+++ b/
projects/rscriptd/Makefile
@@
-13,7
+13,6
@@
SRCS = ./main.cpp \
STGLIBS = scriptexecuter \
conffiles \
logger \
STGLIBS = scriptexecuter \
conffiles \
logger \
- locker \
crypto \
common
crypto \
common
@@
-32,7
+31,12
@@
OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
CXXFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
CFLAGS += $(DEFS) $(STGLIBS_INCS) $(SEARCH_DIRS)
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 install uninstall
all: libs $(PROG) ../../Makefile.conf
.PHONY: all clean distclean libs install uninstall
all: libs $(PROG) ../../Makefile.conf