Friday, November 6, 2009

Working with dylibs : Deployment Issues - Part 3

Read Part 1
Read Part 2

if you are using install_name_tool extensively. I'd recommend you use the linker flag -headerpad_max_install_names. Man page of ld describes this flag as follows.


-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. Size is a hexadecimal number.


Read Part 1
Read Part 2

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails