[Lldb-commits] [lldb] r199549 - Handle LLDB_LIB_DIR on FreeBSD as on Linux

Ed Maste emaste at freebsd.org
Sat Jan 18 06:22:28 PST 2014


Author: emaste
Date: Sat Jan 18 08:22:28 2014
New Revision: 199549

URL: http://llvm.org/viewvc/llvm-project?rev=199549&view=rev
Log:
Handle LLDB_LIB_DIR on FreeBSD as on Linux

Diagnosed and tested by Mike Ma.
http://llvm.org/pr18191

Modified:
    lldb/trunk/test/dotest.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=199549&r1=199548&r2=199549&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Sat Jan 18 08:22:28 2014
@@ -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: 





More information about the lldb-commits mailing list