]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
CMake: adding fix to link against library with dlopen() and dlcose()
authorJosh <jrosenba@cisco.com>
Fri, 14 Nov 2014 17:30:34 +0000 (11:30 -0600)
committerJosh <jrosenba@cisco.com>
Fri, 14 Nov 2014 17:30:34 +0000 (11:30 -0600)
src/CMakeLists.txt
src/stream/ip/ip_module.cc

index ee54b98e508a35a9d820902f770c40f63c4b9498..1ea174fd304b95aee72c093893b42ce967e3964a 100644 (file)
@@ -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)
index fd2755a35d5952b5fc15302006fae84d33e3f84e..2a0af4fedaf047d0c8b732792caf209c7d76d679 100644 (file)
@@ -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()
 {