xref: /OK3568_Linux_fs/external/xserver/debian/patches/03_static-nettle.diff (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Link against static libnettle
2
3There's no libnettle udeb.
4
5--- a/configure.ac
6+++ b/configure.ac
7@@ -1634,7 +1634,7 @@ fi
8 if test "x$with_sha1" = xlibnettle; then
9 	AC_DEFINE([HAVE_SHA1_IN_LIBNETTLE], [1],
10 	          [Use libnettle SHA1 functions])
11-	SHA1_LIBS=-lnettle
12+	SHA1_LIBS=-l:libnettle.a
13 fi
14 AC_CHECK_LIB([gcrypt], [gcry_md_open], [HAVE_LIBGCRYPT=yes])
15 if test "x$with_sha1" = x && test "x$HAVE_LIBGCRYPT" = xyes; then
16