We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a129407 commit e73b8d3Copy full SHA for e73b8d3
tools/build-manylinux-wheel.sh
@@ -69,9 +69,11 @@ else
69
echo "Building the wheel for Python $py_ver."
70
"$py_prefix/bin/python" -mpip install build
71
# Force a rebuild of the extension.
72
+ # setuptools<72.2 reads CFLAGS, >=72.2 reads CXXFLAGS.
73
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MPLCAIRO="$mplcairo_version" \
74
MPLCAIRO_NO_PYCAIRO=1 \
75
CFLAGS="-static-libgcc -static-libstdc++ -I/usr/include/cairo -I/usr/include/freetype2" \
76
+ CXXFLAGS="-static-libgcc -static-libstdc++ -I/usr/include/cairo -I/usr/include/freetype2" \
77
LDFLAGS="-static-libgcc -static-libstdc++" \
78
"$py_prefix/bin/python" -mbuild
79
done
0 commit comments