Commit 112b2dab authored by Tom Stellard's avatar Tom Stellard
Browse files

Merging r231423:

------------------------------------------------------------------------
r231423 | chaoren | 2015-03-05 18:22:54 -0500 (Thu, 05 Mar 2015) | 7 lines

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
------------------------------------------------------------------------

Differential Revision: http://reviews.llvm.org/D10323

llvm-svn: 240293
parent 5c3569ba
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -132,7 +132,12 @@ set( CLANG_USED_LIBS

set(LLDB_SYSTEM_LIBS)
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()
# On FreeBSD backtrace() is provided by libexecinfo, not libc.
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")