aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_override.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-05-14 10:16:55 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-06-03 17:08:41 +0200
commit217dcaed583a8df0db5edd43bafa3cf3bbaeda90 (patch)
treeffd38a048a7bfbd956df54c646f66657f680b5f7 /build_scripts/wheel_override.py
parenteeb286ee7c943ff8ce612719cdbddf7b871d2442 (diff)
Android Deployment: Build wheels with macOS host
- Additionally, also move setting Python_SOABI manually for Android to where FindPython CMake module is called. This also aids in naming the wheel correctly. Pick-to: 6.7 Task-number: PYSIDE-2766 Change-Id: I73c089d31e2ee629f3ed676965fca27d53882110 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
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.