gnutls: allow for host build used by AMLGX u-boot-tools on tools-only_defconfig

This commit is contained in:
Rudi Heitbaum 2023-06-24 04:26:22 +00:00
parent 2bc6777d6b
commit 1f26268794

View File

@ -8,10 +8,11 @@ PKG_SHA256="0ea0d11a1660a1e63f960f157b197abe6d0c8cb3255be24e1fb3815930b9bdc5"
PKG_LICENSE="LGPL2.1"
PKG_SITE="https://gnutls.org"
PKG_URL="https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKG_VERSION:0:3}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="toolchain:host libidn2:host nettle:host zlib:host"
PKG_DEPENDS_TARGET="toolchain libidn2 nettle zlib"
PKG_LONGDESC="A library which provides a secure layer over a reliable transport layer."
PKG_CONFIGURE_OPTS_TARGET="--disable-doc \
PKG_CONFIGURE_OPTS_COMMON="--disable-doc \
--disable-full-test-suite \
--disable-guile \
--disable-libdane \
@ -26,6 +27,9 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-doc \
--without-p11-kit \
--without-tpm"
PKG_CONFIGURE_OPTS_HOST="${PKG_CONFIGURE_OPTS_COMMON}"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_COMMON}"
post_configure_target() {
libtool_remove_rpath libtool
}