Disable connlabel for purely static builds since it pulls in libdl which isn't available in such cases causing build breakage. Signed-off-by: Gustavo Zacarias <gustavo@xxxxxxxxxxxxxxx> --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 2521ccc..0f92c48 100644 --- a/configure.ac +++ b/configure.ac @@ -88,8 +88,12 @@ if test "$ac_cv_header_linux_ip_vs_h" != "yes"; then blacklist_modules="$blacklist_modules ipvs"; fi; +if test "$enable_shared" = "yes"; then PKG_CHECK_MODULES([libnetfilter_conntrack], [libnetfilter_conntrack >= 1.0.4], [nfconntrack=1], [nfconntrack=0]) +else + nfconntrack=0 +fi; AM_CONDITIONAL([HAVE_LIBNETFILTER_CONNTRACK], [test "$nfconntrack" = 1]) if test "$nfconntrack" -ne 1; then -- 2.0.5 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html