]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
fixed cmake -ldl issue
authorRuss Combs <rucombs@cisco.com>
Fri, 14 Nov 2014 18:56:02 +0000 (13:56 -0500)
committerRuss Combs <rucombs@cisco.com>
Fri, 14 Nov 2014 18:56:02 +0000 (13:56 -0500)
ChangeLog
src/CMakeLists.txt

index d3ad59d189d6442c7afee4f413c7583cf33c52e4..cda890b2b25726ed1483c6b53a9574730c3a1e68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@
 -- fix / redefine --dirty-pig - no shutdown flushes
 -- fixed pcre reload init
 -- refactored main init / reload code
+-- fixed cmake -ldl issue
 
 127
 -- REG_TEST out logging tcp options for rebuilt packets to match snort bug
index 1ea174fd304b95aee72c093893b42ce967e3964a..7b99b4c4ec88fab3649e6408275155241dee94ba 100644 (file)
@@ -11,6 +11,7 @@ set(EXTERNAL_LIBRARIES
     ${DNET_LIBRARIES}
     ${CLANG_CXX_LIBRARY}
     ${CMAKE_THREAD_LIBS_INIT} # GCC says we must link to the threads library
+    ${CMAKE_DL_LIBS}
     CACHE INTERNAL "external libraries" FORCE
 )
 
@@ -124,7 +125,6 @@ target_link_libraries( snort
     ${STATIC_INSPECTOR_LIBRARIES}
     ${UNIT_TESTS_LIBRARIES}
     ${EXTERNAL_LIBRARIES}
-    ${CMAKE_DL_LIBS}
 )
 
 add_subdirectory(actions)