From d8f8acd14fef70c01de5f89b89f353a986c58330 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 16 Mar 2015 22:15:20 +0200 Subject: [PATCH] eq/neq fixes. --- projects/rscriptd/Makefile | 4 ++-- projects/sgauth/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.44.2