diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2016-10-31 16:43:38 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2016-11-03 09:11:10 +0000 |
commit | 794c88ff8570fc14502c5c716ba22bdf99c4aa9a (patch) | |
tree | 68bee5227aa1736085e6cbf8e604c295a4dcf191 /qbs-resources | |
parent | 6e58286b955d32d5be1381802e92fd4a7cd3a4d2 (diff) |
Append minor version number to soname of all qbs libs
For the qbs build this feature is turned off to be able
to build qbs 1.7 with qbs 1.6.
Task-number: QBS-1002
Change-Id: I983b61c870f8516fb992e2379c5acb86f02dc104
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs-resources')
-rw-r--r-- | qbs-resources/imports/QbsLibrary.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs index 0e5fdf03a..5ad01e170 100644 --- a/qbs-resources/imports/QbsLibrary.qbs +++ b/qbs-resources/imports/QbsLibrary.qbs @@ -10,6 +10,8 @@ QbsProduct { destinationDirectory: qbs.targetOS.contains("windows") ? "bin" : qbsbuildconfig.libDirName cpp.defines: base.concat(type == "staticlibrary" ? ["QBS_STATIC_LIB"] : ["QBS_LIBRARY"]) cpp.sonamePrefix: qbs.targetOS.contains("darwin") ? "@rpath" : undefined + // ### Uncomment the following line in 1.8 + //cpp.soVersion: version.replace(/\.\d+$/, '') cpp.visibility: "minimal" cpp.cxxLanguageVersion: "c++11" bundle.isBundle: false |