diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-10-23 16:43:49 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-11-15 15:46:58 +0000 |
| commit | 554a82039fb5165bf2e1922551df54dd9fbf3d2c (patch) | |
| tree | 0a4bf50e99e83a4c611870ad09bfe25cba4084c9 /sources/pyside2/PySide2/_built_modules.py.in | |
| parent | 7d58c8b4f6c6692ca0c856f676c05f3a84d40c43 (diff) | |
Fix rpath handling on macOS
This change ultimately allows running python scripts that use PySide2
without setting DYLD_LIBRARY_PATH / DYLD_FRAMEWORK_PATH. It is
achieved by embedding a @loader_path LC_RPATH into all PySide shared
libraries, so that they can load each other if they have dependencies.
Also an additional LC_RPATH is embedded to point to the Qt libraries
directory which was used for building PySide2.
A new option "--rpath='your_value'" is available to allow manually
specifying the rpath value to be embedded into the libraries.
Change-Id: Id783196e908877692312b1d40fef4ad0b09f3e68
Task-number: PYSIDE-558
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/_built_modules.py.in')
0 files changed, 0 insertions, 0 deletions
