diffutils: fix musl bootstrap under some conditions

This commit is contained in:
q66 2021-06-09 05:15:07 +02:00
parent 62b0730792
commit c1ca4cb58c
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ homepage="https://www.gnu.org/software/diffutils"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi
if [ "$CROSS_BUILD" ]; then
# Tell configure we have GNU getopt
configure_args+=" gl_cv_func_getopt_gnu=yes"