[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Path change to LUA_CPATH in Lua Binaries
- From: David Manura <dm.lua@...>
- Date: Sat, 23 Aug 2008 07:00:12 +0000 (UTC)
RJP Computing writes:
> The change I am proposing is to add 'clib' to the LUA_CPATH
> example LUA_CPATH: ;;?.dll;<lua_dir>\clibs\?.dll;...
In general, this may be a good idea.
However, in the case of Lua for Windows, if it incorporates LuaRocks, the search
paths will be determined by LuaRocks, which redefines the "require" function and
imposes it's own "appdir" isolated per-package directory structure[1-2], similar
to those seen in OS X and elsewhere[3-4]. This differs from the flat directory
structure typical in UNIX, currently used in Lua for Windows, and implied in the
above suggestion.
[1] http://lists.luaforge.net/pipermail/luarocks-developers/2007-May/000032.html
[2] http://www.luarocks.org/en/Using_LuaRocks
[3] http://freshmeat.net/articles/view/247/
[4] http://relink.sourceforge.net/