pkg-config v. -I/opt/local/include

Brandon Allbery allbery.b at gmail.com
Wed Jan 13 06:37:23 PST 2016


On Wed, Jan 13, 2016 at 2:19 AM, Ryan Schmidt <ryandesign at macports.org>
wrote:

> But is that because -I/opt/local/include then gets inserted into the
> correct place in the compile line, or because -I/opt/local/include is
> omitted from the compile line and it only works because MacPorts also
> happens to set CPATH=/opt/local/include and you're using a newer compiler
> that supports that? (Granted, only very old versions of clang don't support
> CPATH.)


Note that some Linux distributions only package very old clang.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160113/d59f69d3/attachment.html>


More information about the macports-dev mailing list