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 Jun 7, 2024
1 parent d33a667 commit f82aa83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ 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"
)
BUILD_STATIC = os.environ.get("GOOS") == "windows" or sys.platform == "win32"

if BUILD_STATIC:
ldflags.append("-extldflags '-static'")
Expand Down

0 comments on commit f82aa83

Please sign in to comment.