From a96676f96ae6011c26dd58567d993cebe4d9d6cf Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 21 Sep 2022 10:48:02 +0200 Subject: build system: Disable checking ICU libs for cross builds ldd is used to determine the location of the ICU libs, which does not work for cross builds. Fixes: PYSIDE-2060 Pick-to: 6.3 Change-Id: Idbf8c6e9239f4623b7c11c646a616ef44e8c3ecf Reviewed-by: Shyamnath Premnadh Reviewed-by: Christian Tismer --- build_scripts/platforms/unix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_scripts/platforms/unix.py') diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index 65455d2c9..5c228953f 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -38,7 +38,7 @@ def _copy_gui_executable(name, _vars=None): return _unix_copy_gui_executable(name, _vars) -def prepare_packages_posix(self, _vars): +def prepare_packages_posix(self, _vars, cross_build=False): executables = [] libexec_executables = [] @@ -216,7 +216,7 @@ def prepare_packages_posix(self, _vars): if sys.platform == 'darwin': prepare_standalone_package_macos(self, _vars) else: - prepare_standalone_package_linux(self, _vars) + prepare_standalone_package_linux(self, _vars, cross_build) if config.is_internal_shiboken_generator_build(): # Copy over clang before rpath patching. -- cgit v1.2.3