(install) fix segfault on macos when using homebrew

This commit is contained in:
Eugene Brodsky 2022-12-13 02:26:28 -05:00 committed by Lincoln Stein
parent 474220ce8e
commit 2836976d6d

View File

@ -110,12 +110,6 @@ if [ -z "$PYTHON" ]; then
exit -1 exit -1
fi fi
if [ "$OS_NAME" == "osx" ]; then
xcode_path=$(xcode-select --print-path)
_err_exit $? "xcode_path command not found"
export CPPFLAGS="-I$xcode_path/Library/Frameworks/Python3.framework/Versions/Current/Headers"
echo "Will compile wheels with CPPFLAGS=$CPPFLAGS"
fi
ROOTDIR="" ROOTDIR=""
while [ "$ROOTDIR" == "" ] while [ "$ROOTDIR" == "" ]