lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> The build tool I maintain can use Lua (actually LuaPlus) as part of its 
> build.  It does so in a directory structure similar to this:
> -> jamplus/bin/macosxx64/
>     -> jam executable
>      -> lua/
>          ->
>          -> modules/
>              -> mymodule.dylib
> The executable dynamically loads the, as it is 
> optional.  When a Lua script is run that loads, it can't 
> open it.  The install name path is @executable_path/modules/mymodule.dylib.

I think @loader_path can help you here. If you want to restrict yourself to >=10.4