Skip to content

Commit 704bf10

Browse files
authored
chore(wheels): link libstdc++/libgcc statically on musllinux (#160)
This reduces the size of the wheels & installed binaries
1 parent c5a6e10 commit 704bf10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ before-all = [
3232
'ninja --version',
3333
]
3434

35+
[[tool.cibuildwheel.overrides]]
36+
select = "*-musllinux_*"
37+
environment = { LDFLAGS = "-static-libstdc++ -static-libgcc" }
38+
3539
[tool.isort]
3640
profile = "black"

0 commit comments

Comments
 (0)