From 99907c0d66985217ec0af47c6ed7a1ce08bd1d34 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 8 Apr 2004 10:29:58 +0000 Subject: [PATCH] iconv nur linken, wenn nicht mit in xml2 kompiliert --- src/Jamrules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Jamrules b/src/Jamrules index ecd5a4aec..e3868de6a 100644 --- a/src/Jamrules +++ b/src/Jamrules @@ -31,7 +31,9 @@ CCFLAGS += -Wwrite-strings rule iconv { - LINKLIBS on $(<) += -liconv ; + if $(LINK_ICONV) { + LINKLIBS on $(<) += -liconv ; + } } rule luabind