X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9dbaa1f22054ff5492e793259d5641b876b57ac1..76d21b1043e8efcffa9f61e1e7fdbee6c6dbca67:/projects/rscriptd/Makefile

diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile
index 2b7395a3..53029eb6 100644
--- a/projects/rscriptd/Makefile
+++ b/projects/rscriptd/Makefile
@@ -17,6 +17,10 @@ STGLIBS =  logger \
            scriptexecuter \
            conffiles
 
+ifneq ($(OS),linux)
+LIBS += -liconv
+endif
+
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))