0008-librt.patch 965 B

123456789101112131415161718192021222324252627282930313233
  1. Downloaded from
  2. https://github.com/dajhorn/SoftEtherVPN/commit/9a8538a6f2287fe8bebd0a7185de408e31e5a7df
  3. Fixes
  4. http://autobuild.buildroot.net/results/48f/48f778a891e0bf6a60ed2e4bec057c338ec25ec9/
  5. and many others
  6. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  7. From 9a8538a6f2287fe8bebd0a7185de408e31e5a7df Mon Sep 17 00:00:00 2001
  8. From: Darik Horn <dajhorn@vanadac.com>
  9. Date: Thu, 5 Jun 2014 21:02:02 -0400
  10. Subject: [PATCH] Add an explicit autoconf check for librt.
  11. The realtime extensions library is not automatically linked on Debian ARM
  12. platforms, so do an AC_CHECK_LIB for it in the configuration macro.
  13. ---
  14. configure.ac | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/configure.ac b/configure.ac
  17. index 165623a..6f85393 100644
  18. --- a/configure.ac
  19. +++ b/configure.ac
  20. @@ -60,6 +60,7 @@ CC="$PTHREAD_CC"
  21. CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  22. LIBS="$PTHREAD_LIBS $LIBS"
  23. +AC_CHECK_LIB([rt],[clock_gettime])
  24. AX_CHECK_OPENSSL([
  25. AC_SUBST(OPENSSL_LIBS)