]> git.stg.codes - stg.git/blobdiff - projects/sgconf_xml/Makefile
Minor changes for Darwin.
[stg.git] / projects / sgconf_xml / Makefile
index a7058b896cc497242c200a27375c000dee07bf6f..e3eaa05d2fb92f100ade943cc99d611435bf444c 100644 (file)
@@ -40,7 +40,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 install-bin install-data uninstall-bin uninstall-data
 all: libs $(PROG) ../../Makefile.conf