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
Regards,
Adriaan van Os