We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a11e47d commit 0a89958Copy full SHA for 0a89958
1 file changed
SConstruct
@@ -57,8 +57,9 @@ def make_environ_vars():
57
"""Returns a dictionnary with environment variable to use when compiling."""
58
# PATH is required to find the compiler
59
# TEMP is required for at least mingw
60
+ # LD_LIBRARY_PATH & co is required on some system for the compiler
61
vars = {}
- for name in ('PATH', 'TEMP', 'TMP'):
62
+ for name in ('PATH', 'TEMP', 'TMP', 'LD_LIBRARY_PATH', 'LIBRARY_PATH'):
63
if name in os.environ:
64
vars[name] = os.environ[name]
65
return vars
0 commit comments