seems to be a tonne of opportunity to smoke fink

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Sep 29 21:14:19 UTC 2024



> On Sep 29, 2024, at 10:35 AM, Gagan Sidhu via macports-dev <macports-dev at lists.macports.org> wrote:
> 
> in both cases where macports-libcxx is required, i find it easier to simply add -L/opt/local/lib/libcxx to the ldflags. not sure if that’s bad form or not.
> 

Well, if you do that, then you are not building against the right c++ headers that are supposed to match the new libc++ you are building against.

And mixing things up like that is likely to lead to troubles, we have found.

So we also override the default c++ header search path with certain flags to use the newer c++ headers instead.

K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240929/72bb2a4e/attachment.htm>


More information about the macports-dev mailing list