]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Don't compile c-file s with cxx-compiler. Clang doesn't like it.
[stg.git] / projects / sgconf / Makefile
index 3541a0588f609fecf4aa9d48fd39997de2d4172d..795c25222d481bfd0de5d88bf1a50c0de693605a 100644 (file)
@@ -17,12 +17,11 @@ STGLIBS = conffiles \
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
-LIBS += $(addprefix -lstg,$(STGLIBS)) -lexpat $(LIB_THREAD)
+LIBS += $(addprefix -lstg,$(STGLIBS)) -lexpat $(LIB_THREAD) $(LIBICONV)
 
 ifeq ($(OS),linux)
 else
-LIBS += -lc \
-        -liconv
+LIBS += -lc
 endif
 
 SEARCH_DIRS = -I ../../include