[llvm-branch-commits] [clang] 433f2aa - [lit] Set shlibpath_var on OpenBSD

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 18 23:52:09 PDT 2022


Author: Brad Smith
Date: 2022-09-19T08:51:50+02:00
New Revision: 433f2aaa32bdb38234dfc1060a45ee0afbf1189a

URL: https://github.com/llvm/llvm-project/commit/433f2aaa32bdb38234dfc1060a45ee0afbf1189a
DIFF: https://github.com/llvm/llvm-project/commit/433f2aaa32bdb38234dfc1060a45ee0afbf1189a.diff

LOG: [lit] Set shlibpath_var on OpenBSD

(cherry picked from commit 3eca0b395ff07d0428f4179e33a6ae295e608f47)

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 1aa3abc13d7d1..39d78af19cac0 100644
--- a/clang/test/Unit/lit.cfg.py
+++ b/clang/test/Unit/lit.cfg.py
@@ -45,7 +45,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 llvm-branch-commits mailing list