lua-users home
lua-l archive

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


Hi Liam,

    install_name_tool -change libluajit.dylib
    @executable_path/libluajit.__dylib luajit


Out of interest are you sure this works?

If I do otool -L on the file, it shows that it 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.

I did not know about that. I guess I was just lucky.


Liam

Thanks,
Dimiter "malkia" Stanev.