mirror of
https://github.com/google/benchmark.git
synced 2024-11-27 20:44:27 +00:00
9a71e5d748
This commit fixes the previous breakage in Python wheel builds for Windows by adding a `local_defines` field to the `cc_binary` generated in the process of the Python bindings builds. This define is being picked up by the auto-generated export header `benchmark_export.h`, unsetting the benchmark export macro. Furthermore, the `linkshared` and `linkstatic` attributes are passed booleans now instead of ints, making the command more directly interpretable to the human reader. The fix was suggested by @junyer in the corresponding GitHub issue thread https://github.com/google/benchmark/issues/1367 - thank you for the suggestion! |
||
---|---|---|
.. | ||
python |