Closes: https://bugs.gentoo.org/653246
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/12944
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
# By default configure tries to set --sysroot=${prefix}. We disable
# this behaviour with --with-sysroot=no to use gcc's sysroot default.
# That way we can cross-build mingw64-runtime with cross-emerge.
+ local prefix="${EPREFIX}"$(alt_prefix)/usr
CHOST=${CTARGET} econf \
--with-sysroot=no \
- --prefix="${EPREFIX}"$(alt_prefix)/usr \
+ --prefix="${prefix}" \
+ --libdir="${prefix}"/lib \
--with-headers \
--enable-sdk \
$(crt_with crt) \