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