[clang] 3eca0b3 - [lit] Set shlibpath_var on OpenBSD
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 15 18:44:09 PDT 2022
Author: Brad Smith
Date: 2022-09-15T21:43:54-04:00
New Revision: 3eca0b395ff07d0428f4179e33a6ae295e608f47
URL: https://github.com/llvm/llvm-project/commit/3eca0b395ff07d0428f4179e33a6ae295e608f47
DIFF: https://github.com/llvm/llvm-project/commit/3eca0b395ff07d0428f4179e33a6ae295e608f47.diff
LOG: [lit] Set shlibpath_var on OpenBSD
Added:
Modified:
clang/test/Unit/lit.cfg.py
Removed:
################################################################################
diff --git a/clang/test/Unit/lit.cfg.py b/clang/test/Unit/lit.cfg.py
index 60a1e79e9330..8e3e6f2e862d 100644
--- a/clang/test/Unit/lit.cfg.py
+++ b/clang/test/Unit/lit.cfg.py
@@ -50,7 +50,7 @@
config.environment[var] = os.environ[var]
def find_shlibpath_var():
- if platform.system() in ['Linux', 'FreeBSD', 'NetBSD', 'SunOS']:
+ if platform.system() in ['Linux', 'FreeBSD', 'NetBSD', 'OpenBSD', 'SunOS']:
yield 'LD_LIBRARY_PATH'
elif platform.system() == 'Darwin':
yield 'DYLD_LIBRARY_PATH'
More information about the cfe-commits
mailing list