diff options
Diffstat (limited to 'shells/bash/patches/patch-configure')
-rw-r--r-- | shells/bash/patches/patch-configure | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/bash/patches/patch-configure b/shells/bash/patches/patch-configure new file mode 100644 index 00000000000..bca719ac9b0 --- /dev/null +++ b/shells/bash/patches/patch-configure @@ -0,0 +1,16 @@ +$NetBSD: patch-configure,v 1.1.2.2 2014/11/23 13:29:31 tron Exp $ + +Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD. +From Dennis Lindroos in PR 49375. + +--- configure~ 2014-02-11 15:38:00.000000000 +0000 ++++ configure +@@ -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 + |