diff options
Diffstat (limited to 'net-analyzer/ntopng/files/ntopng-5.2.1-ndpi-linking.patch')
-rw-r--r-- | net-analyzer/ntopng/files/ntopng-5.2.1-ndpi-linking.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-analyzer/ntopng/files/ntopng-5.2.1-ndpi-linking.patch b/net-analyzer/ntopng/files/ntopng-5.2.1-ndpi-linking.patch new file mode 100644 index 000000000000..4940cb44b733 --- /dev/null +++ b/net-analyzer/ntopng/files/ntopng-5.2.1-ndpi-linking.patch @@ -0,0 +1,13 @@ +--- a/configure.ac.in ++++ b/configure.ac.in +@@ -236,8 +236,8 @@ fi + 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_LIB="$NDPI_LIBS" ++ #NDPI_LIB="-Wl,-Bstatic $NDPI_LIBS -Wl,-Bdynamic" ++ NDPI_LIB="$NDPI_LIBS" + NDPI_LIB_DEP= + ], [ + AC_MSG_CHECKING(for nDPI source) |