diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-12-01 00:24:05 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-12-08 17:33:16 +0000 |
commit | 06250a36a471a151dfe238d7bbf1b1efbca91aac (patch) | |
tree | 348b220249fa8c774d20ee972c34a9a1de582c2a /share/qbs/modules/cpp/android-gcc.qbs | |
parent | 955bfa49711ab3b0d13b081a2d016c3dcf9ce218 (diff) |
Introduce cpp.rpathOrigin
[ChangeLog] Added property cpp.rpathOrigin which evaluates to
@loader_path on Darwin and $ORIGIN on other Unix-like platforms.
Change-Id: If5770a83ae32f29ee520fd00b07ed8f0caf6bd48
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/android-gcc.qbs')
-rw-r--r-- | share/qbs/modules/cpp/android-gcc.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/android-gcc.qbs b/share/qbs/modules/cpp/android-gcc.qbs index cc82a5031..5c503a306 100644 --- a/share/qbs/modules/cpp/android-gcc.qbs +++ b/share/qbs/modules/cpp/android-gcc.qbs @@ -41,7 +41,7 @@ LinuxGCC { condition: qbs.targetOS.contains("android") && qbs.toolchain && qbs.toolchain.contains("gcc") priority: 2 - rpaths: ['$ORIGIN'] + rpaths: [rpathOrigin] property string toolchainDir: { if (qbs.toolchain && qbs.toolchain.contains("clang")) |