Skip to content

Commit 9237b44

Browse files
reverse check
1 parent 815a162 commit 9237b44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def collect_build_config() -> dict[str, list[str] | list[tuple[str, str | None]]
223223

224224
if sys.platform.startswith("sunos") or sys.platform.startswith("solaris"):
225225
extra_link_args_x64 = [path for path in extra_link_args if '64' in path]
226-
if not platform.machine() in ['x86_64', 'AMD64', 'amd64', 'x64'] and extra_link_args_x64:
226+
if platform.machine() in ['x86_64', 'AMD64', 'amd64', 'x64'] and extra_link_args_x64:
227227
extra_link_args = extra_link_args_x64
228228

229229
config = {

0 commit comments

Comments
 (0)