lua-users home
lua-l archive

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

On 14 August 2011 07:29, Dimiter "malkia" Stanev <> wrote:
install_name_tool -change libluajit.dylib @executable_path/libluajit.dylib luajit

Out of interest are you sure this works?
If you do not supply an install_name it defaults to the output directory and name which if I read your script correctly would be ../luajit/src/libluajit.dylib and LuaJIT now defaults to /usr/local/lib/luajit.dylib both of which are shorter than the special executable_path install name prefix. I believe you should use the option headerpad_max_install_names to allow for future names to be longer, or just set it earlier in the makefile.