]> git.stg.codes - stg.git/blobdiff - projects/rscriptd/Makefile
Merge branch 'stg-2.409-radius'
[stg.git] / projects / rscriptd / Makefile
index 516894b6459c407b5c5db0171dcac000a496a899..98b2f5e471a9841a05519264228ad90a61177dff 100644 (file)
@@ -19,12 +19,7 @@ STGLIBS = scriptexecuter \
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
 STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
-LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD)
-
-ifeq ($(OS),linux)
-else
-LIBS += -liconv
-endif
+LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) $(LIBICONV)
 
 SEARCH_DIRS = -I ../../include