Force Xcode SDK instead of CLI SDK?

Joshua Root jmr at macports.org
Fri Nov 20 14:47:31 UTC 2020


On 2020-11-21 01:20 , Aaron Madlon-Kay wrote:
>> Maybe we shouldn't run [2] when `use_xcode yes` is set, and rather
>> prefer the unversioned SDK from Xcode than the matching SDK from the
>> command line tools.
> 
> Seems reasonable to me.

Unfortunately it isn't really. The result of not using an SDK matching
your OS version is that autoconf (and cmake etc.) detects functions that
aren't available at runtime, causing crashes because checking for
weak-linked symbols is very uncommon in the world outside of Mac-centric
developers.

- Josh


More information about the macports-dev mailing list