diff options
| author | Ed Maste <emaste@freebsd.org> | 2014-01-18 14:22:28 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2014-01-18 14:22:28 +0000 |
| commit | e8b2ef56e10a10e2c00b33e14e8a5261005ee1cb (patch) | |
| tree | 09d2d7678c3b30339d85dfb0905fa5303f4fef45 /lldb/test | |
| parent | 123994c4a6ed19cc2dad47a449c85651ce2c856d (diff) | |
| download | bcm5719-llvm-e8b2ef56e10a10e2c00b33e14e8a5261005ee1cb.tar.gz bcm5719-llvm-e8b2ef56e10a10e2c00b33e14e8a5261005ee1cb.zip | |
Handle LLDB_LIB_DIR on FreeBSD as on Linux
Diagnosed and tested by Mike Ma.
http://llvm.org/pr18191
llvm-svn: 199549
Diffstat (limited to 'lldb/test')
| -rwxr-xr-x | lldb/test/dotest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |

