X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/517400b7934a39872ffa02370ac7aa1264bec114..554a2f77f485f55c8c62ae9d854a2198b2c0f98f:/projects/sgconv/Makefile diff --git a/projects/sgconv/Makefile b/projects/sgconv/Makefile index 794114c7..ceea22b7 100644 --- a/projects/sgconv/Makefile +++ b/projects/sgconv/Makefile @@ -32,7 +32,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 plugins install uninstall all: libs plugins $(PROG) ../../Makefile.conf