03_static-nettle.diff 626 B

123456789101112131415161718
  1. Link against static libnettle
  2. There's no libnettle udeb.
  3. Index: xorg-server/configure.ac
  4. ===================================================================
  5. --- xorg-server.orig/configure.ac 2013-08-02 20:15:25.471466837 +0200
  6. +++ xorg-server/configure.ac 2013-08-02 20:17:12.875999417 +0200
  7. @@ -1433,7 +1433,7 @@
  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