[CMake] padding link arguments to the linker
Tanner Lovelace
clubjuggler at gmail.com
Fri Feb 10 14:27:54 EST 2006
On 2/8/06, Mike Jackson <imikejackson at gmail.com> wrote:
> Yes.. I have used that tool on some other libraries. The problem is
> that the path that is stored in the library must be the same length
> or LONGER than the path you want to change it to.
If you link with "-headerpad_max_install_names" it will handle this. Here's
the ld documentation about this option:
Add to the header padding enough space to allow changing all
dynamic shared library paths recorded in the output file to be
changed to MAXPATHLEN in length.
Cheers,
Tanner Lovelace
--
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.
More information about the CMake
mailing list