]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
lua: Link lua_stack_test against libdl to handle the static luajit case
authorMichael Altizer <mialtize@cisco.com>
Wed, 11 Dec 2019 02:47:42 +0000 (21:47 -0500)
committerMichael Altizer <mialtize@cisco.com>
Wed, 11 Dec 2019 02:47:42 +0000 (21:47 -0500)
src/lua/test/CMakeLists.txt

index 3cd9a6c5b40aac006a83c76c9b64f515720fae71..0edbdd0ce7b38cae347bda7560f55321ec523b1b 100644 (file)
@@ -1,4 +1,5 @@
 add_catch_test( lua_stack_test
     LIBS    
         ${LUAJIT_LIBRARIES}
+        ${CMAKE_DL_LIBS}
 )