X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7e0f07b593a81c4f1bf0101cdc66968ae40462fb..d8f8acd14fef70c01de5f89b89f353a986c58330:/projects/rscriptd/Makefile?ds=sidebyside diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index cd357bbe..b6812aea 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -21,10 +21,10 @@ STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) -ifneq ($(OS),linux) -LIBS += -liconv +ifeq ($(OS),linux) D_FLAG = -D else +LIBS += -liconv D_FLAG = -d endif