Hello Matthias,
I don't know of a nicer way. I have just assumed that the build won't
work on a Macos version older than what the Xcode in the kit officially
supports.
/Erik
On 2021-07-12 04:26, Baesken, Matthias wrote:
Hello, I noticed the following when building jdk on macOS 10.14 with xcode12
devkit .
The tool "xcodebuild" which is used at some places in the configure process
(see basic.m4 / toolchain.m4) fails because of the too old macOS :
configure:70788: xcodebuild output: dyld: Library not loaded:
/System/Library/Frameworks/Combine.framework/Versions/A/Combine
configure:70790: error: Failed to determine Xcode version.
But when I rename/remove the xcodebuild from the devkit, the builds work
perfectly fine (because the compilers do not have these deps to
Combine.framework).
So I wonder - is there a "nicer" way to achieve this without renaming/removing
the xcodebuild tool from the devkit (e.g. by setting other configure options or env
variables) ?
Thanks, Matthias