nixpkgs-overlay/pkgs/ngtcp2/gnutls_header.patch

13 lines
401 B
Diff

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