mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2025-02-20 03:40:49 +00:00
Revert parts of r223594. Use DYLD_LIBRARY_PATH on OSX when running tests.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@223598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74e7af0d75
commit
2050be27a4
@ -234,6 +234,7 @@ class Configuration(object):
|
||||
self.configure_obj_root()
|
||||
self.configure_use_system_lib()
|
||||
self.configure_use_clang_verify()
|
||||
self.configure_env()
|
||||
self.configure_std_flag()
|
||||
self.configure_compile_flags()
|
||||
self.configure_link_flags()
|
||||
@ -558,7 +559,9 @@ class Configuration(object):
|
||||
self.lit_config.note(
|
||||
"inferred target_triple as: %r" % self.config.target_triple)
|
||||
|
||||
|
||||
def configure_env(self):
|
||||
if sys.platform == 'darwin' and not self.use_system_lib:
|
||||
self.env['DYLD_LIBRARY_PATH'] = os.path.join(self.obj_root, 'lib')
|
||||
|
||||
# name: The name of this test suite.
|
||||
config.name = 'libc++'
|
||||
|
Loading…
x
Reference in New Issue
Block a user