Package: ntopng / 1.2.1+dfsg1-1.1

no-librt.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Avoid not needed linking against librt.
Author: Ludovico Cavedon <cavedon@debian.org>

Index: ntopng/configure.ac
===================================================================
--- ntopng.orig/configure.ac
+++ ntopng/configure.ac
@@ -113,7 +113,6 @@ else
 fi
 
 AC_CHECK_LIB([nl], [nl_handle_alloc], [LDFLAGS="${LDFLAGS} -lnl"])
-AC_CHECK_LIB([rt], [clock_gettime],   [LDFLAGS="${LDFLAGS} -lrt"])
 
 dnl> ldl (used by edjdb)
 AC_CHECK_LIB([dl], [dlopen], [LDFLAGS="${LDFLAGS} -ldl"])