Back to the OP, he reports his submissions of MacPorts-built libraries were rejected due to lack of the titular define, which we see no longer exists.<div><br></div><div>So sorting that out is for Apple, it would seem.</div><div><br></div><div>Nothing I can fix in ld64 or suggest in compile args, anyway, so nothing it would seem we can do here.</div><div><br></div><div>K</div><div><br></div><div><br><div><br>On Friday, March 5, 2021, Rainer Müller <<a href="mailto:raimue@macports.org">raimue@macports.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/03/2021 04.43, Ken Cunningham wrote:<br>
> Apple is not using LC_VERSION_MIN_MACOSX any longer, as at least one helpful<br>
> person pointed out. So — we will never “fix” the problem of this not being<br>
> added, as it is — gone, it appears.<br>
> <br>
> See <a href="https://developer.apple.com/forums/thread/127450" target="_blank">https://developer.apple.<wbr>com/forums/thread/127450</a><br>
> <<a href="https://developer.apple.com/forums/thread/127450" target="_blank">https://developer.apple.com/<wbr>forums/thread/127450</a>> and other links.<br>
<br>
There was a separate load command for the minimum version of each platform:<br>
- LC_VERSION_MIN_MACOSX<br>
- LC_VERSION_MIN_IPHONEOS<br>
- LC_VERSION_MIN_WATCHOS<br>
- LC_VERSION_MIN_TVOS<br>
They have been replaced with LC_BUILD_VERSION, which encodes both the platform<br>
and the minimum required version.<br>
<br>
If your binary does not have LC_VERSION_MIN_MACOSX, it will have<br>
LC_BUILD_VERSION instead. This is the same information, just encoded<br>
differently. You should be able to decode this with `otool -l`.<br>
<br>
Rainer<br>
</blockquote></div></div>