Created
November 26, 2012 17:23
-
-
Save karlp/4149496 to your computer and use it in GitHub Desktop.
Patch lua to match default fed17-x64 paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/luaconf.h b/src/luaconf.h | |
index e2cb261..0e218b5 100644 | |
--- a/src/luaconf.h | |
+++ b/src/luaconf.h | |
@@ -94,9 +94,9 @@ | |
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" | |
#else | |
-#define LUA_ROOT "/usr/local/" | |
+#define LUA_ROOT "/usr/" | |
#define LUA_LDIR LUA_ROOT "share/lua/5.1/" | |
-#define LUA_CDIR LUA_ROOT "lib/lua/5.1/" | |
+#define LUA_CDIR LUA_ROOT "lib64/lua/5.1/" | |
#define LUA_PATH_DEFAULT \ | |
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ | |
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment