diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2014-12-18 08:44:28 -0800 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-01-13 12:12:56 +0100 |
commit | 4d509be759a8c411f2c73e33cf6eef3e904f91fb (patch) | |
tree | 95c26bb93a4ad7e3355a9b07a966aa236c95e930 /src/app/qbs-setup-toolchains/probe.cpp | |
parent | bfdc2953ecc4a9800c2974d2d63e528c2bdc9b96 (diff) |
Fix handling of dSYM bundles.
Change-Id: I50b357e25e51420d8f6fd92904d0d9db0c3c3ae8
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/app/qbs-setup-toolchains/probe.cpp')
-rw-r--r-- | src/app/qbs-setup-toolchains/probe.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/qbs-setup-toolchains/probe.cpp b/src/app/qbs-setup-toolchains/probe.cpp index 585c3cc66..a28b8301e 100644 --- a/src/app/qbs-setup-toolchains/probe.cpp +++ b/src/app/qbs-setup-toolchains/probe.cpp @@ -239,7 +239,9 @@ static Profile createGccProfile(const QString &compilerFilePath, Settings *setti const ToolPathSetup toolPathSetup(&profile, compilerDirPath, toolchainPrefix); toolPathSetup.apply(QLatin1String("ar"), QLatin1String("cpp.archiverPath")); toolPathSetup.apply(QLatin1String("nm"), QLatin1String("cpp.nmPath")); - if (!HostOsInfo::isOsxHost()) + if (HostOsInfo::isOsxHost()) + toolPathSetup.apply(QLatin1String("dsymutil"), QLatin1String("cpp.dsymutilPath")); + else toolPathSetup.apply(QLatin1String("objcopy"), QLatin1String("cpp.objcopyPath")); toolPathSetup.apply(QLatin1String("strip"), QLatin1String("cpp.stripPath")); |