I want to build wxWidgets 3.1.4 for Apple Silicon as a single static library.
I built the libraries for Intal mac(x86_64) from that command from terminal.
Code: Select all
../configure --with-osx_cocoa --with-macosx-version-min=10.11 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk --disable-shared --prefix=/usr/local --enable-macosx-arch=x86_64
Code: Select all
../configure --with-osx_cocoa --with-macosx-version-min=11.0 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk --disable-shared --prefix=/usr/local --enable-macosx-arch=arm64
Please tell me a correct Configure command to build for arm64 binary only.