File lua-link.patch of Package lua-luv

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,7 +260,7 @@
       endif (USE_LUAJIT)
     endif (LUA)
   elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
-    target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES} rt)
+    target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES} rt lua)
   else()
     target_link_libraries(${TARGET_NAME} ${LIBUV_LIBRARIES})
   endif()
openSUSE Build Service is sponsored by