Skip to content

Instantly share code, notes, and snippets.

@karlp
Created November 26, 2012 17:23
Show Gist options
  • Save karlp/4149496 to your computer and use it in GitHub Desktop.
Save karlp/4149496 to your computer and use it in GitHub Desktop.
Patch lua to match default fed17-x64 paths
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