Add patch, originally added to gcc34 by drochner: "on 1.6.x, we need

libiconv. Make sure the rpath includes ${LOCALBASE}".
This commit is contained in:
shannonjr 2004-07-22 21:57:16 +00:00
parent ea2efc5dc0
commit 8bc3cedbe8

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ca,v 1.1 2004/07/22 21:57:16 shannonjr Exp $
--- gcc/configure.orig 2004-04-18 17:45:10.000000000 -0600
+++ gcc/configure
@@ -7693,7 +7693,7 @@ _ACEOF
fi
LIBICONV=
if test "$am_cv_lib_iconv" = yes; then
- LIBICONV="$am_cv_lib_iconv_ldpath -liconv"
+ LIBICONV="$am_cv_lib_iconv_ldpath -liconv -Wl,-R${LOCALBASE}/lib"
fi