This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/ToolBox/SOS/lldbplugin Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ if(NOT ENABLE_LLDBPLUGIN)
41
41
endif ()
42
42
43
43
# Check for LLDB library
44
- find_library (LLDB NAMES LLDB lldb lldb-3.8 lldb-3.6 lldb-3.5 PATHS "${WITH_LLDB_LIBS} " PATH_SUFFIXES llvm)
44
+ find_library (LLDB NAMES LLDB lldb lldb-3.8 lldb-3.6 lldb-3.5 PATHS "${WITH_LLDB_LIBS} " PATH_SUFFIXES llvm NO_DEFAULT_PATH)
45
+ find_library (LLDB NAMES LLDB lldb lldb-3.8 lldb-3.6 lldb-3.5 PATH_SUFFIXES llvm)
45
46
if (LLDB STREQUAL LLDB-NOTFOUND )
46
47
if (REQUIRE_LLDBPLUGIN)
47
48
message (FATAL_ERROR "Cannot find lldb-3.5, lldb-3.6 or lldb-3.8. Try installing lldb-3.6-dev (or the appropriate package for your platform)" )
@@ -55,7 +56,8 @@ message(STATUS "LLDB: ${LLDB}")
55
56
56
57
# Check for LLDB headers
57
58
58
- find_path (LLDB_H "lldb/API/LLDB.h" PATHS "${WITH_LLDB_INCLUDES} " )
59
+ find_path (LLDB_H "lldb/API/LLDB.h" PATHS "${WITH_LLDB_INCLUDES} " NO_DEFAULT_PATH)
60
+ find_path (LLDB_H "lldb/API/LLDB.h" )
59
61
if (LLDB_H STREQUAL LLDB_H-NOTFOUND )
60
62
find_path (LLDB_H "lldb/API/LLDB.h" PATHS "/usr/lib/llvm-3.8/include" )
61
63
if (LLDB_H STREQUAL LLDB_H-NOTFOUND )
You can’t perform that action at this time.
0 commit comments