summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-16 07:28:48 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-16 07:28:48 (GMT)
commit76e1ad3b1290562ad0ebb4ed430eb1f2566645f0 (patch)
tree412b54317ae313b6db27e50db2746a78944d572f /BuildTools/SCons
parent1cf2023bc496a4abe5a98138401295b45a0b899a (diff)
downloadswift-76e1ad3b1290562ad0ebb4ed430eb1f2566645f0.zip
swift-76e1ad3b1290562ad0ebb4ed430eb1f2566645f0.tar.bz2
Fix Windows compilation after recent changes.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 136479a..70f89de 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -33,7 +33,7 @@ vars.Add(PathVariable("qt", "Qt location", "", PathVariable.PathAccept))
# Set up default build & configure environment
################################################################################
-env = Environment(CPPPATH = "#", ENV = {'PATH' : os.environ['PATH'], 'LD_LIBRARY_PATH' : os.environ["LD_LIBRARY_PATH"]}, variables = vars)
+env = Environment(CPPPATH = "#", ENV = {'PATH' : os.environ['PATH'], 'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH","")}, variables = vars)
Help(vars.GenerateHelpText(env))