summaryrefslogtreecommitdiff
path: root/share/qbs/modules
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-11-19 16:52:33 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-20 10:43:16 +0100
commit74084a1e43a15dc897ed0b2baa3961aa5e782992 (patch)
treefb9ec734553c729b965b1d94b17821c77506b646 /share/qbs/modules
parente0a8ec897c15a471f69a7d8bf1dc15d4a361505f (diff)
downloadqbs-74084a1e43a15dc897ed0b2baa3961aa5e782992.tar.gz
Let cpp.linkerName default to cpp.compilerName for gcc-like compilers.
The hardcoded default value might not be the right one in all cases (e.g. mingw). This solution is better than setting the linker name in detect-toolchains, because it will also work with existing profiles. Change-Id: Ib658090218b3191a6f554ea397c689a94c804c61 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share/qbs/modules')
-rw-r--r--share/qbs/modules/cpp/GenericGCC.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/GenericGCC.qbs b/share/qbs/modules/cpp/GenericGCC.qbs
index ccb851ccc..eac2ae9af 100644
--- a/share/qbs/modules/cpp/GenericGCC.qbs
+++ b/share/qbs/modules/cpp/GenericGCC.qbs
@@ -13,7 +13,7 @@ CppModule {
property string toolchainPrefix
property path toolchainInstallPath
compilerName: 'g++'
- linkerName: "g++"
+ linkerName: compilerName
property string archiverName: 'ar'
property path sysroot: qbs.sysroot
property path platformPath