libgcrypt: fix cross

This commit is contained in:
Jürgen Buchmüller 2020-11-22 05:55:39 +01:00
parent 054d4f2aec
commit 08ee0cb337

View file

@ -12,9 +12,9 @@ homepage="https://www.gnupg.org"
distfiles="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2"
checksum=03b70f028299561b7034b8966d7dd77ef16ed139c43440925fe8782561974748
case "$XBPS_TARGET_MACHINE" in
ppc|ppc-musl) configure_args+=" ac_cv_sys_symbol_underscore=no" ;;
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_sys_symbol_underscore=no"
fi
post_configure() {
case "$XBPS_TARGET_MACHINE" in