[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Makefile vs LUA_PATH inconsistency
- From: Peter Drahoš <drahosp@...>
- Date: Fri, 16 May 2014 17:34:19 +0200
On Fri, May 16, 2014 at 4:55 PM, Dirk Laurie <email@example.com> wrote:
> 2014-05-16 15:04 GMT+02:00 Andrew Starks <firstname.lastname@example.org>:
>> On Friday, May 16, 2014, Ulrich Schmidt <email@example.com> wrote:
>>> Am 16.05.2014 10:52, schrieb Thijs Schreijer:
>>>> But at least the defaults should work out-of-the-box, no?
>>> Everyone defines his private setup as "default".
>> Why have the default at all if the default is broken out of the box?
> It's not broken out of the box except on Windows. So what's new?
Windows has one nice feature in PATH/CPATH handling. You can use
relative paths from the executable location using the exclamation mark
"!". Eg. LUA_CPATH="!/../lib/lua/?.dll". This is especially helpful
for self contained installations, standalone Lua applications etc.
LuaDist extends this functionality to other OSes so it does not
need to install into the system and can be moved around as needed.
Additionally you can set your own defaults in the CMake based build we