diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-13 18:12:05 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-19 17:20:14 +0200 |
commit | 8254ee6a3bc6310cd7701450cc000fb04bf85671 (patch) | |
tree | 5f3c51522d028bf2b42f70608e5d03ec7af4988d /src/plugins/platforms/android | |
parent | e28a32ea450d1e1fa3a813a41cb439126dd93dbc (diff) |
CMake: Fix implementation of qt_apply_rpaths
There were a few things that were not ported correctly.
Make sure to disable rpath manipulation if the rpath feature is
disabled.
Fix if(IS_ABSOLUTE) conditions to actually take values.
Don't embed bogus relative rpaths if the platform does not support
it. QNX is such a platform, it does not support $ORIGIN (at least from
my scouring of QNX documentation and manual testing via QEMU).
Handle the extra rpath case where they are relative, but the platform
does not support relative rpaths, by transforming them into absolute
ones.
Amends 67ee92f4d898ee76c40b7efd8e69782a6a4a3754
Change-Id: I04168633ec51b3cc5d580b738a7dc280fe6e0d2d
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions