Le 21/11/2012 16:04, Adriaan van Os a écrit :
Maurice Lombardi wrote:
OK , corrected as
-install_name,$(libdir)/$(notdir $(GRX20SHna))
I suggest to add -headerpad_max_install_names (which is an option that Apple gcc understands without -Wl).
-headerpad_max_install_names Automatically adds space for future expansion of load
commands such that all paths could expand to MAXPATHLEN. Only useful if intend to run install_name_tool to alter the load commands later.
I refer to my previous remarks about install names and run install_name_tool https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/install_name_tool.1.html
OK, done and uploaded. I missed it. By the way, if symlinks to it are added as I explained in my last message is it necessary to give all names inside the dylib for this to work ?
Maurice