1From f46d096015d7402a37a59eb66b8f6b7fbf0cdff0 Mon Sep 17 00:00:00 2001 2From: Kai Kang <kai.kang@windriver.com> 3Date: Wed, 24 May 2017 17:38:53 +0800 4Subject: [PATCH] snort: enable static daq 5 6Upstream-Status: Inappropriate [embedded specific] 7 8When enable static daq for snort, it calls to daq-modules-config to get link 9library and library path. Library path is useless for oe and cause host 10contamination issue. So filter it. 11 12Signed-off-by: Kai Kang <kai.kang@windriver.com> 13 14--- 15 configure.in | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 17 18diff --git a/configure.in b/configure.in 19index fded45b..a247bb9 100644 20--- a/configure.in 21+++ b/configure.in 22@@ -658,7 +658,7 @@ fi 23 24 if test "x$enable_static_daq" = "xyes"; then 25 LDAQ="" 26- LIBS="${LIBS} `daq-modules-config --static --libs`" 27+ LIBS="${LIBS} `daq-modules-config --static --libs | sed 's#-L[^ ]*##g'`" 28 AC_CHECK_LIB([daq_static], [daq_load_modules], 29 [LIBS="-ldaq_static ${LIBS}"], [LDAQ="no"], [ ]) 30 31