Compile/Link 101
Lawrence Velázquez
larryv at macports.org
Fri Oct 4 20:03:43 PDT 2013
On Oct 4, 2013, at 9:39 PM, Craig Treleaven <ctreleaven at cogeco.ca> wrote:
> I actually don't know how the test _can succeed_ with XCode 5? There is no '-L' flag to indicate that the library is under /opt/local/lib.
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.
vq
More information about the macports-dev
mailing list