aboutsummaryrefslogtreecommitdiff
path: root/extra/gnutls/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-08-27 15:18:58 +0200
committerCem Keylan <cem@ckyln.com>2023-08-27 15:18:58 +0200
commitf9904a63df836e5271989fe4abd97bef38d474dd (patch)
tree0cab86ec0f329d8006bb2e62e03da74308fd2080 /extra/gnutls/build
parent77e673e214d3210b6c9a6f332e9bf43a8bdb1c28 (diff)
downloadrepository-f9904a63df836e5271989fe4abd97bef38d474dd.tar.gz
gnutls: bump to 3.8.1
Diffstat (limited to 'extra/gnutls/build')
-rwxr-xr-xextra/gnutls/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/gnutls/build b/extra/gnutls/build
index 729426d0..5bc90d9a 100755
--- a/extra/gnutls/build
+++ b/extra/gnutls/build
@@ -1,5 +1,16 @@
#!/bin/sh -e
+# We have multiple issues thanks to p11-kit.
+# - p11-kit does not support static linking (instead of writing proper code that
+# just works they have decided to go out of their way to make sure you can't
+# statically link it), so if you build the static gnutls library with it, you
+# can link nothing to gnutls statically.
+# - If you build gnutls without p11-kit, you can't compile glib-networking as it
+# depends on the PKCS#11 API in gnutls that they don't even have enabled by
+# default.
+# - If libressl was fully compatible with openssl, we wouldn't have to use
+# gnutls for glib-networking, therefore removing the p11-kit dependency.
+
./configure \
--prefix=/usr \
--disable-nls \