From a96ac21d8d934233892f2c2cc949e104f8601d94 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 9 Jun 2024 02:56:35 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=A9=20Automated=20fixes=20from=20https?= =?UTF-8?q?://pre-commit.ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 93e9d61..743078a 100644 --- a/setup.py +++ b/setup.py @@ -196,7 +196,9 @@ def run(self): # Build a static binary on Windows to avoid missing DLLs from MinGW, # i.e., libgcc_s_seh-1.dll, libstdc++-6.dll, etc. - BUILD_STATIC = "linux-musl" in os.environ.get("CC", "") or "linux-musl" in os.environ.get("CXX", "") + BUILD_STATIC = "linux-musl" in os.environ.get( + "CC", "" + ) or "linux-musl" in os.environ.get("CXX", "") if BUILD_STATIC: ldflags.append("-extldflags '-static'")