Skip to content

Commit 0a89958

Browse files
committed
- add LD_LIBRARY_PATH to propagated environment variables as it is required for some compiler installations.
1 parent a11e47d commit 0a89958

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

SConstruct

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ def make_environ_vars():
5757
"""Returns a dictionnary with environment variable to use when compiling."""
5858
# PATH is required to find the compiler
5959
# TEMP is required for at least mingw
60+
# LD_LIBRARY_PATH & co is required on some system for the compiler
6061
vars = {}
61-
for name in ('PATH', 'TEMP', 'TMP'):
62+
for name in ('PATH', 'TEMP', 'TMP', 'LD_LIBRARY_PATH', 'LIBRARY_PATH'):
6263
if name in os.environ:
6364
vars[name] = os.environ[name]
6465
return vars

0 commit comments

Comments
 (0)