diff options
author | Remko Tronçon <git@el-tramo.be> | 2013-04-21 14:45:37 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2013-04-21 14:45:37 (GMT) |
commit | 5eff3391c316d5ab325b78024296e74127c6747c (patch) | |
tree | a86008521ec5d1b5704c76aae72545344536ad2b /SwifTools | |
parent | f5946a1273b363f46ae0753eccdf6bd96a72e997 (diff) | |
download | swift-5eff3391c316d5ab325b78024296e74127c6747c.zip swift-5eff3391c316d5ab325b78024296e74127c6747c.tar.bz2 |
Fix compilation when 3rdParty/ is not there.
Change-Id: I6d86bf7d8dcc750ff69ff08500c9987b3c1de43e
Diffstat (limited to 'SwifTools')
-rw-r--r-- | SwifTools/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SwifTools/SConscript b/SwifTools/SConscript index d91c5d4..9aa3bed 100644 --- a/SwifTools/SConscript +++ b/SwifTools/SConscript @@ -61,8 +61,8 @@ if env["SCONS_STAGE"] == "build" : swiftools_env.Append(CPPDEFINES = ["HAVE_XSS"]) sources += ["Idle/XSSIdleQuerier.cpp"] - swiftools_env.UseFlags(swiftools_env["BREAKPAD_FLAGS"]) - if env["HAVE_BREAKPAD"] : + if env.get("HAVE_BREAKPAD", False) : + swiftools_env.UseFlags(swiftools_env["BREAKPAD_FLAGS"]) swiftools_env.Append(CPPDEFINES = ["HAVE_BREAKPAD"]) sources += ["CrashReporter.cpp"] |