linking to a library within destroot directory

Jann Röder roederja at student.ethz.ch
Mon Apr 2 15:24:53 PDT 2007


You need to hack the makefile to pass the -install_name parameter to the
linker. See the mico port for an example of how to do that.

markd at macports.org wrote:
> What can we do when an app wants to link to a library that is part of the
> app distro and within the destroot directory?  So that after installation
> the app won't give a "Library not loaded" message because it is trying to
> find it in the now non-existent destroot directory.
> 
> Mark
> 




More information about the macports-dev mailing list