summaryrefslogtreecommitdiff
path: root/lang/gcc46/patches/patch-ad
blob: c02f6df0c06b26154c3f97d3752ab2e8d8ef9ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2011/12/22 14:14:22 wiz Exp $

--- configure.orig	2011-03-16 18:27:36.000000000 +0000
+++ configure
@@ -5275,7 +5275,7 @@ fi
 
 
 if test "x$with_mpfr" != x; then
-  gmplibs="-L$with_mpfr/lib $gmplibs"
+  gmplibs="-L$with_mpfr/lib ${COMPILER_RPATH_FLAG}$with_mpfr/lib $gmplibs"
   gmpinc="-I$with_mpfr/include $gmpinc"
 fi
 if test "x$with_mpfr_include" != x; then