X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e7fdffe08f8ce456c82a85accdcc18151a8f7f39..554a2f77f485f55c8c62ae9d854a2198b2c0f98f:/projects/rscriptd/Makefile?ds=inline diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index ce0b76dc..4c960db7 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -13,7 +13,6 @@ SRCS = ./main.cpp \ STGLIBS = scriptexecuter \ conffiles \ logger \ - locker \ 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) -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