Compile/Link 101

Joshua Root jmr at macports.org
Sat Oct 5 12:09:25 PDT 2013


On 2013-10-6 00:53 , Craig Treleaven wrote:
> At 11:03 PM -0400 10/4/13, Lawrence Velázquez wrote:
>> MacPorts sets the LIBRARY_PATH environment variable in the configure
>> phase, which sufficiently recent compilers take into account when
>> linking. I don't know exactly when Clang started respecting it.
> 
> Thank you!  From some searching, I found a bug report [1] for Qt4-mac
> related to this problem. One comment suggested that XCode >= 4.5 and
> clang >= 3.1 will respect LIBRARY_PATH.  Can someone confirm?
> 
> [1] https://trac.macports.org/ticket/37878

To which comment are you referring? AFAICT, all that ticket says
regarding Xcode versions supporting LIBRARY_PATH is that it doesn't work
with 4.3.3.

My somewhat hazy recollection is that it might have started working in
4.4. Unfortunately I don't have that version handy to check.

- Josh


More information about the macports-dev mailing list