commit:     52bf332627f850a84d09d6ccd96c7a968b0efaed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 08:45:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 08:45:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52bf3326

app-shells/bash: add EPREFIX to rpath

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/bash/bash-5.1_p8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-shells/bash/bash-5.1_p8.ebuild 
b/app-shells/bash/bash-5.1_p8.ebuild
index 88199a177aa..5f26b4a7e3a 100644
--- a/app-shells/bash/bash-5.1_p8.ebuild
+++ b/app-shells/bash/bash-5.1_p8.ebuild
@@ -159,7 +159,7 @@ src_configure() {
        fi
 
        if use plugins ; then
-               append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
+               append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/bash
        else
                # Disable the plugins logic by hand since bash doesn't
                # provide a way of doing it.

Reply via email to