Skip to content

Commit

Permalink
Fix build of gnutls: When static linking hogweed interferes with nettle
Browse files Browse the repository at this point in the history
Fixes: xbmc#299
  • Loading branch information
boogieeeee committed Jun 22, 2024
1 parent 0b748b1 commit fbc0a4e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions depends/common/gnutls/0004-hogweed-nettle-link-order.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/configure b/configure
index e7bb291..a621557 100644
--- a/configure
+++ b/configure
@@ -12611,7 +12611,7 @@
printf "%s\n" "#define HAVE_LIBNETTLE 1" >>confdefs.h


- GNUTLS_REQUIRES_PRIVATE="Requires.private: nettle, hogweed"
+ GNUTLS_REQUIRES_PRIVATE="Requires.private: hogweed, nettle"


# Check whether --with-nettle-mini was given.

0 comments on commit fbc0a4e

Please sign in to comment.