Remove libedit and libncurses from LLDB_SYSTEM_LIBS if they're disabled.
Reviewers: clayborg, zturner, vharron, sbest Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8065 llvm-svn: 231423
This commit is contained in:
parent
c6dcf7a7cc
commit
6fb4915bd6
|
|
@ -125,7 +125,12 @@ set( CLANG_USED_LIBS
|
||||||
|
|
||||||
set(LLDB_SYSTEM_LIBS)
|
set(LLDB_SYSTEM_LIBS)
|
||||||
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__)
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__)
|
||||||
list(APPEND LLDB_SYSTEM_LIBS edit panel ncurses)
|
if (NOT LLDB_DISABLE_LIBEDIT)
|
||||||
|
list(APPEND LLDB_SYSTEM_LIBS edit)
|
||||||
|
endif()
|
||||||
|
if (NOT LLDB_DISABLE_CURSES)
|
||||||
|
list(APPEND LLDB_SYSTEM_LIBS panel ncurses)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# On FreeBSD backtrace() is provided by libexecinfo, not libc.
|
# On FreeBSD backtrace() is provided by libexecinfo, not libc.
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue