File: rawlua.patch

package info (click to toggle)
minetest 0.4.15%2Brepack2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,732 kB
  • ctags: 13,048
  • sloc: cpp: 110,598; xml: 77,537; ansic: 4,149; sh: 853; makefile: 788; python: 659; java: 484
file content (26 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Markus Koschany <apo@debian.org>
Date: Fri, 20 Feb 2015 22:46:25 +0100
Subject: rawlua

---
 src/CMakeLists.txt |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Index: b/src/CMakeLists.txt
===================================================================
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -167,10 +167,9 @@ else()
 	message (STATUS "LuaJIT detection disabled! (ENABLE_LUAJIT=0)")
 endif()
 if(NOT USE_LUAJIT)
-	message(STATUS "LuaJIT not found, using bundled Lua.")
-	set(LUA_LIBRARY "lua")
-	set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src")
-	add_subdirectory(lua)
+	message (STATUS "LuaJIT not found, using the version of Lua provided by the system.")
+	set(LUA_INCLUDE_DIR "/usr/include/lua5.1/")
+	set(LUA_LIBRARY "lua5.1")
 endif()
 
 find_package(GMP REQUIRED)