As it had been pointed out the correct option is
-with-macosx-sdk
You can also run
Code: Select all
../configure --help
Thank you.
Code: Select all
../configure --help
First get the path to your sdkmkdir build-cocoa-debug
cd build-cocoa-debug
../configure --enable-debug
make
Code: Select all
xcode-select --print-path
Then run a configure command with additional flags. I had to change the version from the default 10.7 to 10.9 after an error and based on the recommendations I read here and in other places./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/
Code: Select all
../configure --enable-debug --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk --with-macosx-version-min=10.9
Code: Select all
make
Code: Select all
--with-macosx-sdk