diff --git a/srcpkgs/chroot-texinfo/template b/srcpkgs/chroot-texinfo/template index e253e3cc03f..dc0ce550009 100644 --- a/srcpkgs/chroot-texinfo/template +++ b/srcpkgs/chroot-texinfo/template @@ -18,6 +18,9 @@ checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68 do_configure() { cp -f ${XBPS_CROSSPFDIR}/config.sub build-aux + if [ -z "$CHROOT_READY" ]; then + export LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" + fi ./configure ${configure_args} --disable-nls }