linking to a library within destroot directory

markd at macports.org markd at macports.org
Mon Apr 2 15:33:31 PDT 2007


Ah I see.  Thanks!  So would a patch like that be a good thing to pass
upstream, or would developers think this unnecessary and/or problematic
for general use for some reason?

Mark

Jann Röder <roederja at student.ethz.ch> on Monday, April 2, 2007 at 3:24 PM
-0800 wrote:
>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.




More information about the macports-dev mailing list