forked from OSchip/llvm-project
[libc++] Use env to set the tool's environment on Darwin
This commit is contained in:
parent
768ead0a6c
commit
3d9e6c42f8
|
|
@ -1043,7 +1043,7 @@ class Configuration(object):
|
||||||
if self.target_info.is_darwin():
|
if self.target_info.is_darwin():
|
||||||
# Do not pass DYLD_LIBRARY_PATH to the compiler, linker, etc. as
|
# Do not pass DYLD_LIBRARY_PATH to the compiler, linker, etc. as
|
||||||
# these tools are not meant to exercise the just-built libraries.
|
# these tools are not meant to exercise the just-built libraries.
|
||||||
tool_env += 'DYLD_LIBRARY_PATH="" '
|
tool_env += 'env DYLD_LIBRARY_PATH="" '
|
||||||
|
|
||||||
sub = self.config.substitutions
|
sub = self.config.substitutions
|
||||||
cxx_path = tool_env + pipes.quote(self.cxx.path)
|
cxx_path = tool_env + pipes.quote(self.cxx.path)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue