Skip to content

Commit a3dd4e9

Browse files
committed
Merge branch 'bewaremypower/fix-macos-minimum-version' into TEST-MACOS
2 parents fe3e7b3 + ac41342 commit a3dd4e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/mac/build-mac-wheels.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ if [ ! -f Python-${PYTHON_VERSION_LONG}/.done ]; then
9999
tar xfz Python-${PYTHON_VERSION_LONG}.tgz
100100

101101
pushd Python-${PYTHON_VERSION_LONG}
102-
./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
102+
CFLAGS="-fPIC -O3 -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" \
103+
./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
103104
make -j16
104105
make install
105106

0 commit comments

Comments
 (0)