git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected upload/download mess.
[stg.git]
/
projects
/
rscriptd
/
Makefile
diff --git
a/projects/rscriptd/Makefile
b/projects/rscriptd/Makefile
index adbc4eb38dca2336acb407bce7542975b23f429c..4c960db72b2fb61df756017224bee48d560fc3bb 100644
(file)
--- a/
projects/rscriptd/Makefile
+++ b/
projects/rscriptd/Makefile
@@
-31,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