X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a903ce1ab463173c9a0af322c4c2f23076d21310..9f2fcf1cf2b6e0665bb6375b69346117f26b6bf0:/projects/sgconf/Makefile?ds=sidebyside diff --git a/projects/sgconf/Makefile b/projects/sgconf/Makefile index 297d3e20..09699122 100644 --- a/projects/sgconf/Makefile +++ b/projects/sgconf/Makefile @@ -41,7 +41,11 @@ 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) +LDFLAGS += $(STGLIBS_LIBS) + +ifneq ($(OS),darwin) +LDFLAGS += -Wl,-E +endif .PHONY: all clean distclean libs install uninstall install-bin install-data uninstall-bin uninstall-data all: libs $(PROG) ../../Makefile.conf