diff options
author | 2020-07-12 21:43:12 -0400 | |
---|---|---|
committer | 2020-07-12 21:43:12 -0400 | |
commit | 3c6ad9a4cbc4f17caf0c54c81070e5d9d9a9b783 (patch) | |
tree | 4396658471c0d68e76a0edbd31723d4245d2ae1d /src | |
parent | f3589e54f24cac04665a90ed61a4bce1b0a142c0 (diff) | |
download | textadept-3c6ad9a4cbc4f17caf0c54c81070e5d9d9a9b783.tar.gz textadept-3c6ad9a4cbc4f17caf0c54c81070e5d9d9a9b783.zip |
Read from system `LUA_PATH` and `LUA_CPATH` instead of custom env vars.
Textadept's paths have higher priority anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lua.patch b/src/lua.patch index dee5a0f8..c7b6fe91 100644 --- a/src/lua.patch +++ b/src/lua.patch @@ -1,19 +1,3 @@ ---- a/src/loadlib.c 2017-01-12 12:14:26.000000000 -0500 -+++ b/src/loadlib.c 2017-02-02 10:17:42.543025320 -0500 -@@ -261,11 +261,11 @@ - ** variables that Lua check to set its paths. - */ - #if !defined(LUA_PATH_VAR) --#define LUA_PATH_VAR "LUA_PATH" -+#define LUA_PATH_VAR "TA_LUA_PATH" - #endif - - #if !defined(LUA_CPATH_VAR) --#define LUA_CPATH_VAR "LUA_CPATH" -+#define LUA_CPATH_VAR "TA_LUA_CPATH" - #endif - - diff -r 8a23edc91533 src/luaconf.h --- a/src/luaconf.h Mon Jan 12 18:57:53 2015 -0500 +++ b/src/luaconf.h Mon Jan 12 23:50:08 2015 -0500 |