Skip to content

Commit 2c66cba

Browse files
committed
Remove linker flags from windows
1 parent 180b793 commit 2c66cba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ setup = ['--vsenv'] # For Windows
149149
[tool.cibuildwheel]
150150
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x"
151151
build-verbosity = "3"
152-
environment = {LDFLAGS="-Wl,--strip-all"}
153152
test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0"
154153
test-command = """
155154
PANDAS_CI='1' python -c 'import pandas as pd; \
@@ -159,6 +158,12 @@ test-command = """
159158
free-threaded-support = true
160159
before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.sh"
161160

161+
[tool.cibuildwheel.macos]
162+
environment = {LDFLAGS="-Wl,--strip-all"}
163+
164+
[tool.cibuildwheel.linux]
165+
environment = {LDFLAGS="-Wl,--strip-all"}
166+
162167
[tool.cibuildwheel.windows]
163168
before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build_windows.sh"
164169
before-test = "bash {package}/scripts/cibw_before_test_windows.sh"

0 commit comments

Comments
 (0)