aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-09-15 21:43:01 -0400
committerTobias Hieta <tobias@hieta.se>2022-09-19 08:51:50 +0200
commit433f2aaa32bdb38234dfc1060a45ee0afbf1189a (patch)
treea797f1ca707adce1cbe20eaf7c6da1884b8afaab
parent[clang(d)] Include/Exclude CLDXC options properly (diff)
downloadllvm-project-433f2aaa32bdb38234dfc1060a45ee0afbf1189a.tar.gz
llvm-project-433f2aaa32bdb38234dfc1060a45ee0afbf1189a.tar.bz2
llvm-project-433f2aaa32bdb38234dfc1060a45ee0afbf1189a.zip
[lit] Set shlibpath_var on OpenBSD
(cherry picked from commit 3eca0b395ff07d0428f4179e33a6ae295e608f47)
-rw-r--r--clang/test/Unit/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Unit/lit.cfg.py b/clang/test/Unit/lit.cfg.py
index 1aa3abc13d7d..39d78af19cac 100644
--- a/clang/test/Unit/lit.cfg.py
+++ b/clang/test/Unit/lit.cfg.py
@@ -45,7 +45,7 @@ for var in [
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'