| 1 | Link against static libnettle |
| 2 | |
| 3 | There's no libnettle udeb. |
| 4 | |
| 5 | Index: xorg-server/configure.ac |
| 6 | =================================================================== |
| 7 | --- xorg-server.orig/configure.ac 2013-08-02 20:15:25.471466837 +0200 |
| 8 | +++ xorg-server/configure.ac 2013-08-02 20:17:12.875999417 +0200 |
| 9 | @@ -1433,7 +1433,7 @@ |
| 10 | if test "x$with_sha1" = xlibnettle; then |
| 11 | AC_DEFINE([HAVE_SHA1_IN_LIBNETTLE], [1], |
| 12 | [Use libnettle SHA1 functions]) |
| 13 | - SHA1_LIBS=-lnettle |
| 14 | + SHA1_LIBS=-l:libnettle.a |
| 15 | fi |
| 16 | AC_CHECK_LIB([gcrypt], [gcry_md_open], [HAVE_LIBGCRYPT=yes]) |
| 17 | if test "x$with_sha1" = x && test "x$HAVE_LIBGCRYPT" = xyes; then |