diff options
-rw-r--r-- | dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild index 054a46495840..92257a968e2a 100644 --- a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild +++ b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild @@ -38,7 +38,8 @@ multilib_src_configure() { $(use_enable nls) \ $(use_enable static-libs static) \ --enable-threads \ - CC_FOR_BUILD="$(tc-getBUILD_CC)" + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ + $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") } multilib_src_install_all() { |