Closed netromdk closed 6 years ago
Btw the problem mentioned in #11 is fixed in this PR. :)
Great! Could you please update the help documentation & remove the NOTE about min-macos-version being ignored?
I have removed that note you referred to. I couldn't find anything else to change.
Awesome, thanks!
You're welcome! :)
Cool - @netromdk regarding this also addressing #11 does it get the user-config.jam settings to be used even without the architecture being passed to b2? To be honest, I don't remember the specifics (and I can barely keep my head above water with Boost config stuff) but I know when I was fiddling with it previously I had to add that (architecture=x86) or user-config.jam was totally ignored.
It seems to. I tried it out and the min architecture is definitely being set correctly - no more complaints from xcodebuild when linking with Boost & targeting an OS version earlier than the current one. There wasn't a specific consideration for that though. Maybe just passing the SDK path did the trick there?
@mbendiksen What I meant was that it correctly sets the minimum SDK version, which I saw was commented on in your PR. But I might have missed some of the parts you addressed. It still creates the user-config.jam as before, including the minimum SDK version.
@faithfracture Yes, the path to the used SDK given via -isysroot
is like stating what the base SDK is. For some reason, if that is left out, even when specifying -mmacosx-version-min
, then it wouldn't work.
First of all; thanks for the great build script.
In order to enforce the actual minimum macOS SDK version I had to use both -isysroot and -mmacosx-version-min for cxxflags and linkflags.