aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_override.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/wheel_override.py')
-rw-r--r--build_scripts/wheel_override.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/wheel_override.py b/build_scripts/wheel_override.py
index f3f9f17a9..790282cd4 100644
--- a/build_scripts/wheel_override.py
+++ b/build_scripts/wheel_override.py
@@ -47,7 +47,7 @@ class PysideBuildWheel(_bdist_wheel, CommandMixin):
def finalize_options(self):
CommandMixin.mixin_finalize_options(self)
- if sys.platform == 'darwin':
+ if sys.platform == 'darwin' and not self.is_cross_compile:
# Override the platform name to contain the correct
# minimum deployment target.
# This is used in the final wheel name.