python-zstandard icon indicating copy to clipboard operation
python-zstandard copied to clipboard

cffi: Use the distutils preprocessor when available

Open dbnicholson opened this issue 1 year ago • 1 comments

On Unix like systems, distutils will usually set the preprocessor attribute to the appropriate command. On MSVC it never sets the preprocessor, though. In either case, try to use it and only fallback to using the compiler if needed. Using compiler.compiler[0] breaks use of ccache when inserted in the CC environment variable.

This is a regression from 0d1329ab426dde7dc319905da0656cd44db41988.

Closes #178.

dbnicholson avatar Jul 21 '22 21:07 dbnicholson

Ping? Anything I can do to help get this merged?

dbnicholson avatar Sep 20 '22 21:09 dbnicholson

No problem. I'm certainly guilty of letting contributions bitrot.

dbnicholson avatar Oct 30 '22 00:10 dbnicholson