From b6942cd8b05cd30dca8f7bd1619396d0cd3b95c0 Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Tue, 31 Dec 2013 13:43:50 -0500 Subject: cli: only link to iconv on Solaris 10 --- test/module.defs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/module.defs b/test/module.defs index d0398fab9..17cf42e8c 100644 --- a/test/module.defs +++ b/test/module.defs @@ -54,7 +54,10 @@ else ifeq ($(BUILD.system),linux) else ifeq ($(BUILD.system),kfreebsd) TEST.GCC.l += pthread dl m else ifeq ($(BUILD.system),solaris) - TEST.GCC.l += pthread nsl socket iconv + TEST.GCC.l += pthread nsl socket +ifneq (,$(filter $(BUILD.release),2.10)) + TEST.GCC.l += iconv +endif TEST.GCC.D += _POSIX_C_SOURCE=200112L __EXTENSIONS__ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) ifeq ($(HAS.dlfcn),1) -- cgit v1.2.3