]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/Makefile
Fixed iconv linkage.
[stg.git] / projects / rlm_stg / Makefile
index efc1bcaa9f38ad657030b4c7aa74103c9d45395c..05c43d95135b559866886ac904108ce3fc074cfc 100644 (file)
@@ -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