[lit] Set shlibpath_var on OpenBSD

This commit is contained in:
Brad Smith 2022-09-15 21:43:01 -04:00
parent 116838b151
commit 3eca0b395f
1 changed files with 1 additions and 1 deletions

View File

@ -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'