From 0a899589c2a0be2a82bf07f721e4418cf6a71f62 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sat, 13 Mar 2010 07:55:46 +0000 Subject: [PATCH] - add LD_LIBRARY_PATH to propagated environment variables as it is required for some compiler installations. --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 0499db9..d652887 100644 --- a/SConstruct +++ b/SConstruct @@ -57,8 +57,9 @@ def make_environ_vars(): """Returns a dictionnary with environment variable to use when compiling.""" # PATH is required to find the compiler # TEMP is required for at least mingw + # LD_LIBRARY_PATH & co is required on some system for the compiler vars = {} - for name in ('PATH', 'TEMP', 'TMP'): + for name in ('PATH', 'TEMP', 'TMP', 'LD_LIBRARY_PATH', 'LIBRARY_PATH'): if name in os.environ: vars[name] = os.environ[name] return vars