ODROID-U3 xorg-server debian package fork :
[deb_xorg-server.git] / debian / patches / 03_static-nettle.diff
1 Link against static libnettle
2
3 There's no libnettle udeb.
4
5 --- a/configure.ac
6 +++ b/configure.ac
7 @@ -1623,7 +1623,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