linking to a library within destroot directory

markd at markd at
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?


Jann Röder <roederja at> 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 wrote:
>> What can we do when an app wants to link to a library that is part of
>> app distro and within the destroot directory?  So that after
>> the app won't give a "Library not loaded" message because it is trying
>> find it in the now non-existent destroot directory.

More information about the macports-dev mailing list