From: Josh Date: Fri, 14 Nov 2014 17:30:34 +0000 (-0600) Subject: CMake: adding fix to link against library with dlopen() and dlcose() X-Git-Tag: 3.0.0-233~1221^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=debf45e3765d9bc7370db5e60fba26aa3140aa86;p=thirdparty%2Fsnort3.git CMake: adding fix to link against library with dlopen() and dlcose() --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ee54b98e5..1ea174fd3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,4 @@ - # keeping track of external libraries seperately for use in pkg-config. set(EXTERNAL_LIBRARIES ${LUAJIT_LIBRARIES} @@ -125,6 +124,7 @@ target_link_libraries( snort ${STATIC_INSPECTOR_LIBRARIES} ${UNIT_TESTS_LIBRARIES} ${EXTERNAL_LIBRARIES} + ${CMAKE_DL_LIBS} ) add_subdirectory(actions) diff --git a/src/stream/ip/ip_module.cc b/src/stream/ip/ip_module.cc index fd2755a35..2a0af4fed 100644 --- a/src/stream/ip/ip_module.cc +++ b/src/stream/ip/ip_module.cc @@ -65,10 +65,10 @@ using namespace std; "TTL value less than configured minimum, not using for reassembly" #define DEFRAG_EXCESSIVE_OVERLAP_STR \ - ",excessive fragment overlap" + "excessive fragment overlap" #define DEFRAG_TINY_FRAGMENT_STR \ - ",iny fragment" + "tiny fragment" FragEngine::FragEngine() {