X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/452637bc90525a9a5b412ab99793006cf14c1e31..1a42b634841392c7c0516bcb76fcc33f6d700808:/projects/rlm_stg/Makefile

diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile
index efc1bcaa..05c43d95 100644
--- a/projects/rlm_stg/Makefile
+++ b/projects/rlm_stg/Makefile
@@ -18,14 +18,13 @@ STGLIBS = crypto \
 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 += -lintl \
-        -lc \
-        -liconv
+        -lc
 endif
 
 SEARCH_DIRS = -I ../../include