Skip to content

Commit

Permalink
🪩 Automated fixes from https://pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent f9bf847 commit 0a46519
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ 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 = (
os.environ.get("GOOS") == "windows" or
sys.platform == "win32" or
"linux-musl" in os.environ.get("CC", "") or
"linux-musl" in os.environ.get("CXX", "")
os.environ.get("GOOS") == "windows"
or sys.platform == "win32"
or "linux-musl" in os.environ.get("CC", "")
or "linux-musl" in os.environ.get("CXX", "")
)
if BUILD_STATIC:
ldflags.append("-extldflags '-static'")
Expand Down

0 comments on commit 0a46519

Please sign in to comment.