diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-02-27 15:03:08 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-02-27 15:19:48 +0100 |
commit | 3e746e4741513dabf60f43efab938d8fc94cd1be (patch) | |
tree | e32614c2b9963c9f7af21b307d74a711eeecc4ed /qbs.qbs | |
parent | 670bb104695ac80252bed4e15da116c324b50937 (diff) |
Make the "lib" part of plugin and library locations configurable.
Can now be set to e.g. "lib64" if required.
Task-number: QBS-343
Change-Id: I6f34ade37f39400cc5fde63133a464565feb34c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qbs.qbs')
-rw-r--r-- | qbs.qbs | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,17 +5,18 @@ Project { property bool enableRPath: true property bool installApiHeaders: true property bool withExamples: true - property string libInstallDir: qbs.targetOS.contains("windows") ? "bin" : "lib" + property string libDirName: "lib" + property string libInstallDir: qbs.targetOS.contains("windows") ? "bin" : libDirName property string libRPaths: { if (!project.enableRPath) return undefined; if (qbs.targetOS.contains("linux")) - return ["$ORIGIN/../lib"]; + return ["$ORIGIN/../" + libDirName]; if (qbs.targetOS.contains("osx")) - return ["@loader_path/../lib"] + return ["@loader_path/../" + libDirName] } property string resourcesInstallDir: "" - property string pluginsInstallDir: "lib" + property string pluginsInstallDir: libDirName references: [ "doc/doc.qbs", |