From 0a460a975fafddeec7df6490aa85602ee4ad34ca Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 14 Jul 2012 21:18:00 +0000 Subject: [PATCH] SCons now propagates the LD_LIBRARY_PATH environment variable by default --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 86083e394..971163a8f 100644 --- a/SConstruct +++ b/SConstruct @@ -230,6 +230,7 @@ else: defaults.singleLibrary = False defaults.fsLayout = 'compact' if env['OS'] == 'Windows' else 'standard' +defaults.env_vars = 'LD_LIBRARY_PATH' if 'LD_LIBRARY_PATH' in os.environ else '' # ************************************** # *** Read user-configurable options *** @@ -396,7 +397,7 @@ opts.AddVariables( """Environment variables to propagate through to SCons. Either the string "all" or a comma separated list of variable names, e.g. 'LD_LIBRARY_PATH,HOME'""", - ''), + defaults.env_vars), ('cxx_flags', 'Compiler flags passed to the C++ compiler only.', defaults.cxxFlags),