diff --git a/app-shells/bash/bash-5.1_p8.ebuild b/app-shells/bash/bash-5.1_p8.ebuild index 88199a177aa17..5f26b4a7e3ab1 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.