diff --git a/maturin/__init__.py b/maturin/__init__.py index 64f0e52f2..30eda1329 100644 --- a/maturin/__init__.py +++ b/maturin/__init__.py @@ -77,7 +77,7 @@ def _build_wheel( if pep517_args: options.extend(pep517_args) - if "--compatibility" not in options: + if "--compatibility" not in options and "--manylinux" not in options: # default to off if not otherwise specified options = ["--compatibility", "off", *options]