diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2013-07-15 10:45:39 -0400 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2013-07-15 18:05:08 +0200 |
commit | 278aef3a41bce73885f5aa1f904141ab033c7b97 (patch) | |
tree | 9e692ab6a2ab5fc466f35ca27c9333174f2f725c | |
parent | 6762c79080f2711b7e70b1d005228406e94f9c6c (diff) | |
download | qbs-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.qbs | 3 |
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", "-", |