From: Maxim Mamontov Date: Mon, 16 Mar 2015 20:15:20 +0000 (+0200) Subject: eq/neq fixes. X-Git-Tag: 2.409~189 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d8f8acd14fef70c01de5f89b89f353a986c58330?ds=sidebyside eq/neq fixes. --- 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 diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index 3c538966..c1a3c9e9 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -20,12 +20,12 @@ STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) -ifneq ($(OS),linux) +ifeq ($(OS),linux) +D_FLAG = -D +else LIBS += -lintl \ -lc \ -liconv -D_FLAG = -D -else D_FLAG = -d endif