Files
MINGW-packages/mingw-w64-lua/searchpath.patch
J. Peter Mugaas 33201d8f35 Ruby tk lua (#1793)
* Updates for some packages

lua - 5.3.3 - Update to altest version and set up equivilants to
symlinks with a 5.3 suffix - rekey a patch
ncurses - 6.0 Update to 2016100
ruby - 2.3.1 Update to latest version
tcl and tk - 0.6.6 Update to latest version

* OOPS, I forgot LICENSE file for lua
2016-10-07 21:40:47 +03:00

15 lines
647 B
Diff

--- lua-5.3.3/src/luaconf.h.orig 2016-05-01 16:06:09.000000000 -0400
+++ lua-5.3.3/src/luaconf.h 2016-10-06 08:03:00.436714600 -0400
@@ -173,8 +173,9 @@
** In Windows, any exclamation mark ('!') in the path is replaced by the
** path of the directory of the executable file of the current process.
*/
-#define LUA_LDIR "!\\lua\\"
-#define LUA_CDIR "!\\"
+#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "\\"
+#define LUA_LDIR "!\\..\\share\\lua\\" LUA_VDIR
+#define LUA_CDIR "!\\..\\lib\\lua\\" LUA_VDIR
#define LUA_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR "\\"
#define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \