summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-07-15 10:45:39 -0400
committerJake Petroules <jake.petroules@petroules.com>2013-07-15 18:05:08 +0200
commit278aef3a41bce73885f5aa1f904141ab033c7b97 (patch)
tree9e692ab6a2ab5fc466f35ca27c9333174f2f725c
parent6762c79080f2711b7e70b1d005228406e94f9c6c (diff)
downloadqbs-278aef3a41bce73885f5aa1f904141ab033c7b97.tar.gz
Make Info.plist composition more robust: followup.
Missed a few variable declarations. Task-number: QBS-348 Change-Id: Icfe904401c1b7b7b1300ddf0225ff9d25f5fced6 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--share/qbs/modules/cpp/DarwinGCC.qbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs
index 26bfa2fb8..be5c63d5e 100644
--- a/share/qbs/modules/cpp/DarwinGCC.qbs
+++ b/share/qbs/modules/cpp/DarwinGCC.qbs
@@ -181,6 +181,7 @@ UnixGCC {
}
// Add keys from platform's Info.plist if not already present
+ var platformInfo = {};
if (platformPath) {
if (File.exists(platformInfoPlist)) {
process = new Process();
@@ -210,6 +211,7 @@ UnixGCC {
print("no platform path specified");
}
+ var sdkSettings = {};
if (sysroot) {
if (File.exists(sdkSettingsPlist)) {
process = new Process();
@@ -223,6 +225,7 @@ UnixGCC {
print("no sysroot (SDK path) specified");
}
+ var toolchainInfo = {};
if (toolchainInstallPath && File.exists(toolchainInfoPlist)) {
process = new Process();
process.exec("plutil", ["-convert", "json", "-o", "-",