File 001-Enable-building-against-the-dynamic-libndpi-library.patch of Package ntopng
diff -burNE ntopng-4.2_orig/configure.seed ntopng-4.2/configure.seed
--- ntopng-4.2_orig/configure.seed 2021-04-23 16:59:19.499218754 +0200
+++ ntopng-4.2/configure.seed 2021-04-23 17:00:13.508862236 +0200
@@ -143,8 +143,8 @@
PKG_CHECK_MODULES([NDPI], [libndpi >= 2.0], [
NDPI_INC=`echo $NDPI_CFLAGS | sed -e "s/[ ]*$//"`
- # Use static libndpi library as building against the dynamic library fails
- NDPI_LIB="-Wl,-Bstatic $NDPI_LIBS -Wl,-Bdynamic"
+ NDPI_INC="$NDPI_CFLAGS"
+ NDPI_LIB="$NDPI_LIBS"
NDPI_LIB_DEP=
], [
AC_MSG_CHECKING(for nDPI source)