We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe3e7b3 + ac41342 commit a3dd4e9Copy full SHA for a3dd4e9
pkg/mac/build-mac-wheels.sh
@@ -99,7 +99,8 @@ if [ ! -f Python-${PYTHON_VERSION_LONG}/.done ]; then
99
tar xfz Python-${PYTHON_VERSION_LONG}.tgz
100
101
pushd Python-${PYTHON_VERSION_LONG}
102
- ./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
+ CFLAGS="-fPIC -O3 -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" \
103
+ ./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
104
make -j16
105
make install
106
0 commit comments