From 9619910ea2d4e308d958ddb793b7ff4e95411a5a Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Thu, 3 Mar 2022 23:37:59 +0000 Subject: [PATCH] remove obsolete workaround it actually breaks building Pillow with Homebrew's clang/llvm --- build/pkgs/pillow/spkg-install.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build/pkgs/pillow/spkg-install.in b/build/pkgs/pillow/spkg-install.in index 51ac69c84fc..dade6b99a5c 100644 --- a/build/pkgs/pillow/spkg-install.in +++ b/build/pkgs/pillow/spkg-install.in @@ -6,13 +6,6 @@ rm -rf \ "$SAGE_LOCAL"/lib/python*/site-packages/PIL-*.egg* \ "$SAGE_LOCAL"/lib/python*/site-packages/Pillow-*.egg* -if [ "$UNAME" = "Darwin" ] ; then - # #29019 - # https://github.com/python-pillow/Pillow/issues/3438#issuecomment-555019284 - # https://apple.stackexchange.com/questions/372032/usr-include-missing-on-macos-catalina-with-xcode-11/372600#372600 - export CPATH="$CPATH:`xcrun --show-sdk-path`/usr/include" -fi - if [ "$CONDA_PREFIX" != "" ]; then # Quoted quotes so that whitespace in CONDA_PREFIX works correctly. # Below we run the command line through eval.