summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-configure
blob: adce8b0cdf9c035278ebed8c664fe342ae5078c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-configure,v 1.2 2015/03/07 22:40:48 rodent Exp $

Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD.
From Dennis Lindroos in PR 49375.

--- configure.orig	2014-02-11 15:38:00.000000000 +0000
+++ configure
@@ -8047,7 +8047,7 @@ fi
   fi
   if test "X$ltrpathdirs" != "X"; then
             for found_dir in $ltrpathdirs; do
-      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
+      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-Wl,-R$found_dir"
     done
   fi
 
@@ -8837,7 +8837,7 @@ fi
   fi
   if test "X$ltrpathdirs" != "X"; then
             for found_dir in $ltrpathdirs; do
-      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
+      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-Wl,-R$found_dir"
     done
   fi