summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-03-07 05:59:48 +0000
committerjlam <jlam@pkgsrc.org>2003-03-07 05:59:48 +0000
commita0020ab00f68b3753637f348be72ab037bfee9ef (patch)
tree9165057f02e2d66e33337a9650514ad9cf42dc63 /devel
parent1eb8468c15632491a1294736345b889f0f784a7b (diff)
downloadpkgsrc-a0020ab00f68b3753637f348be72ab037bfee9ef.tar.gz
Use BUILDLINK_LIBICONV_LDADD instead of hard-coding "-liconv". This should
fix the problem where gettext-lib on certain OSes that already have iconv functions in libc don't need to link against libiconv.
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext-lib/buildlink2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gettext-lib/buildlink2.mk b/devel/gettext-lib/buildlink2.mk
index fe38a46d27e..9bb04b11e73 100644
--- a/devel/gettext-lib/buildlink2.mk
+++ b/devel/gettext-lib/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.18 2003/01/05 22:16:53 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.19 2003/03/07 05:59:48 jlam Exp $
.if !defined(GETTEXT_BUILDLINK2_MK)
GETTEXT_BUILDLINK2_MK= # defined
@@ -91,7 +91,7 @@ _BLNK_LIBINTL+= -L${BUILDLINK_PREFIX.gettext}/lib
_BLNK_LIBINTL+= -Wl,-R${BUILDLINK_PREFIX.gettext}/lib
_BLNK_LIBINTL+= -lintl
. if ${_GETTEXT_NEEDS_ICONV} == "YES"
-_BLNK_LIBINTL+= -liconv
+_BLNK_LIBINTL+= ${BUILDLINK_LIBICONV_LDADD}
. endif
.else
. if ${_BLNK_LIBINTL_FOUND} == "YES"