Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git] / debian / patches / 03_static-nettle.diff
CommitLineData
7217e0ca
ML
1Link against static libnettle
2
3There's no libnettle udeb.
4
5Index: 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