[Date Prev][Date Next][Thread Prev][Thread Next]
- 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