X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/452637bc90525a9a5b412ab99793006cf14c1e31..862223ebc00e6153adb8f02f9c3b117547d16314:/projects/sgconv/Makefile

diff --git a/projects/sgconv/Makefile b/projects/sgconv/Makefile
index ff6308ed..b463f175 100644
--- a/projects/sgconv/Makefile
+++ b/projects/sgconv/Makefile
@@ -18,12 +18,12 @@ STGLIBS = dotconfpp \
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
-LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD)
+LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) $(LIBICONV)
 
 ifeq ($(OS),linux)
 LIBS += -ldl
 else
-LIBS += -lc -liconv
+LIBS += -lc
 endif
 
 SEARCH_DIRS = -I ../../include