Skip to content

Commit

Permalink
package/gnutls: add build support for host
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
hthiery authored and tpetazzoni committed Jun 1, 2022
1 parent f31696e commit 4ec71b9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package/gnutls/gnutls.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,31 @@ GNUTLS_CONF_ENV = gl_cv_socket_ipv6=yes \
gl_cv_func_gettimeofday_clobber=no
GNUTLS_INSTALL_STAGING = YES

HOST_GNUTLS_DEPENDENCIES = host-pkgconf host-libtasn1 host-libunistring host-nettle
HOST_GNUTLS_CONF_OPTS = \
--disable-doc \
--disable-guile \
--disable-libdane \
--disable-rpath \
--disable-tests \
--without-included-unistring \
--without-libcrypto-prefix \
--without-libdl-prefix \
--without-libev-prefix \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-libpthread-prefix \
--without-libseccomp-prefix \
--without-librt-prefix \
--without-libz-prefix \
--without-tpm \
--disable-openssl-compatibility \
--without-libbrotli \
--without-idn \
--without-p11-kit \
--without-zlib \
--without-libzstd

ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y)
GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library)
GNUTLS_LICENSE_FILES += doc/COPYING
Expand Down Expand Up @@ -103,3 +128,4 @@ endif
GNUTLS_CONF_ENV += LIBS="$(GNUTLS_LIBS)"

$(eval $(autotools-package))
$(eval $(host-autotools-package))

0 comments on commit 4ec71b9

Please sign in to comment.