diff options
author | jlam <jlam@pkgsrc.org> | 2002-12-20 07:11:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-12-20 07:11:42 +0000 |
commit | efefdc43bd4359cb52faf16411a4425af0c2a3e4 (patch) | |
tree | d9226b9419077caef94cbeb9e3824f3cb0428017 | |
parent | a867f616be31a3deec9807bbce572f838e0a1a65 (diff) | |
download | pkgsrc-efefdc43bd4359cb52faf16411a4425af0c2a3e4.tar.gz |
Add "-liconv" along with "-lintl" to LIBS if we are using a newish (0.11.x)
gettext.
-rw-r--r-- | devel/gettext-lib/buildlink2.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/gettext-lib/buildlink2.mk b/devel/gettext-lib/buildlink2.mk index 4d5c13d0801..b9500cd26e3 100644 --- a/devel/gettext-lib/buildlink2.mk +++ b/devel/gettext-lib/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.16 2002/12/11 22:22:47 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.17 2002/12/20 07:11:42 jlam Exp $ .if !defined(GETTEXT_BUILDLINK2_MK) GETTEXT_BUILDLINK2_MK= # defined @@ -90,6 +90,9 @@ _BLNK_INCINTL+= -I${BUILDLINK_PREFIX.gettext}/include _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 +. endif .else . if ${_BLNK_LIBINTL_FOUND} == "YES" _BLNK_LIBINTL+= -lintl |