Package: crtmpserver / 1.0~dfsg-5

15_use_system_lua.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: use system lua(lua 5.1)

--- a/cmake_find_modules/Find_lua.cmake
+++ b/cmake_find_modules/Find_lua.cmake
@@ -3,6 +3,7 @@ FIND_PATH(LUA_INCLUDE_PATH_
 	NAMES
 		lualib.h
 	PATHS
+		/usr/include/lua5.1
 		/usr/include
 		/usr/local/include
 		/usr/local/include/lua51
@@ -12,7 +13,7 @@ FIND_PATH(LUA_INCLUDE_PATH_
 
 FIND_LIBRARY(LUA_LIBRARY_PATH_
 	NAMES
-		lua
+		lua5.1
 	PATHS
 		/usr/lib64
 		/usr/lib