diffutils: fix musl do_check.

Closes #9371.
This commit is contained in:
maxice8 2017-11-20 14:26:08 -02:00 committed by Enno Boland
parent acf5028955
commit 572e90f869
1 changed files with 7 additions and 0 deletions

View File

@ -17,3 +17,10 @@ if [ -n "$CROSS_BUILD" ]; then
configure_args+=" gl_cv_func_getopt_gnu=yes"
fi
pre_check() {
case "$XBPS_TARGET_MACHINE" in
*-musl* )
# Disable locale tests that fail on musl
sed -i '/test-mbrtowc5.sh/d' gnulib-tests/Makefile ;;
esac
}