fix search path for lua require (#3336)
This commit is contained in:
parent
63d82131a7
commit
ad8f82c6e2
|
@ -104,7 +104,7 @@
|
||||||
//## Modified for eLua
|
//## Modified for eLua
|
||||||
//## Defaults search modules path to our ROM File System
|
//## Defaults search modules path to our ROM File System
|
||||||
#ifndef LUA_RPC
|
#ifndef LUA_RPC
|
||||||
#define LUA_PATH_DEFAULT "/rfs/?.lua;/rfs/?.lc;/mmc/?.lua;/mmc/?.lc;/rom/?.lua;/rom/?.lc"
|
#define LUA_PATH_DEFAULT "?.lc;?.lua"
|
||||||
#define LUA_CPATH_DEFAULT ""
|
#define LUA_CPATH_DEFAULT ""
|
||||||
#else // #ifndef LUA_RPC
|
#else // #ifndef LUA_RPC
|
||||||
#define LUA_PATH_DEFAULT \
|
#define LUA_PATH_DEFAULT \
|
||||||
|
|
Loading…
Reference in New Issue