summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSean McGovern <[email protected]>2013-12-31 13:43:50 -0500
committerSean McGovern <[email protected]>2016-07-01 14:31:48 -0400
commitb6942cd8b05cd30dca8f7bd1619396d0cd3b95c0 (patch)
tree6f6717d3eb03b7dfdeba88aacf36572f24494244 /test
parentba88a841847d19a5e8819d81a83dbde78b72d045 (diff)
cli: only link to iconv on Solaris 10
Diffstat (limited to 'test')
-rw-r--r--test/module.defs5
1 files changed, 4 insertions, 1 deletions
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)