add gnutls header patch

This commit is contained in:
Christian Ulrich 2021-03-15 19:47:50 +01:00
parent 2ae4371163
commit b0f70785c2
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
2 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
patches = [ ./gnutls_header.patch ];
configureFlags = [
"--with-gnutls"
];

View File

@ -0,0 +1,12 @@
diff --git a/crypto/includes/Makefile.am b/crypto/includes/Makefile.am
index 7e0589a3..56f29e34 100644
--- a/crypto/includes/Makefile.am
+++ b/crypto/includes/Makefile.am
@@ -26,3 +26,7 @@ nobase_include_HEADERS = ngtcp2/ngtcp2_crypto.h
if HAVE_OPENSSL
nobase_include_HEADERS += ngtcp2/ngtcp2_crypto_openssl.h
endif
+
+if HAVE_GNUTLS
+nobase_include_HEADERS += ngtcp2/ngtcp2_crypto_gnutls.h
+endif