From e8b2ef56e10a10e2c00b33e14e8a5261005ee1cb Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 18 Jan 2014 14:22:28 +0000 Subject: Handle LLDB_LIB_DIR on FreeBSD as on Linux Diagnosed and tested by Mike Ma. http://llvm.org/pr18191 llvm-svn: 199549 --- lldb/test/dotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test') diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py index a120d38c47a..4b0986bd170 100755 --- a/lldb/test/dotest.py +++ b/lldb/test/dotest.py @@ -1001,7 +1001,7 @@ def setupSysPath(): lines = lldb_dash_p_result.splitlines() if len(lines) == 1 and os.path.isfile(os.path.join(lines[0], init_in_python_dir)): lldbPath = lines[0] - if "linux" in sys.platform: + if "freebsd" in sys.platform or "linux" in sys.platform: os.environ['LLDB_LIB_DIR'] = os.path.join(lldbPath, '..', '..') if not lldbPath: -- cgit v1.2.3