forked from OSchip/llvm-project
[lit] Set shlibpath_var on OpenBSD
This commit is contained in:
parent
116838b151
commit
3eca0b395f
|
@ -50,7 +50,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'
|
||||
|
|
Loading…
Reference in New Issue