add gnutls header patch
This commit is contained in:
parent
2ae4371163
commit
b0f70785c2
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
patches = [ ./gnutls_header.patch ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-gnutls"
|
||||
];
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue