diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-12-05 10:39:27 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-12-06 08:35:36 +0100 |
| commit | 2d7c438cc4c13b22bbe45e937cbdb4215239fd29 (patch) | |
| tree | e6043df14f3f8ef5f376380598600e1671c954dd /build_scripts/platforms/linux.py | |
| parent | 67292776a6cba219f5145db00b16e30015b4a33c (diff) | |
build system: Port get_shared_library_filters to pathlib
Introduce a helper to find shared libraries and change the functions
to use Paths.
Task-number: PYSIDE-2080
Change-Id: I0b2e4c4c21f9810f6b45986c784d050fbf7a8058
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/platforms/linux.py')
| -rw-r--r-- | build_scripts/platforms/linux.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_scripts/platforms/linux.py b/build_scripts/platforms/linux.py index c99a6e925..3d473063c 100644 --- a/build_scripts/platforms/linux.py +++ b/build_scripts/platforms/linux.py @@ -92,7 +92,7 @@ def prepare_standalone_package_linux(pyside_build, _vars, cross_build=False): _vars=_vars) copied_plugins = pyside_build.get_shared_libraries_in_path_recursively( - os.fspath(plugins_target)) + plugins_target) pyside_build.update_rpath_for_linux_plugins(copied_plugins) if copy_qml: @@ -106,7 +106,7 @@ def prepare_standalone_package_linux(pyside_build, _vars, cross_build=False): ignore=["*.debug"], _vars=_vars) copied_plugins = pyside_build.get_shared_libraries_in_path_recursively( - os.fspath(qml_plugins_target)) + qml_plugins_target) pyside_build.update_rpath_for_linux_plugins( copied_plugins, qt_lib_dir=destination_qt_lib_dir, |
