[Lldb-commits] [PATCH] Remove libedit and libncurses from LLDB_SYSTEM_LIBS if they're disabled.
Chaoren Lin
chaorenl at google.com
Wed Mar 4 14:34:41 PST 2015
Didn't realize libpanel is part of libncurses.
http://reviews.llvm.org/D8065
Files:
cmake/LLDBDependencies.cmake
Index: cmake/LLDBDependencies.cmake
===================================================================
--- cmake/LLDBDependencies.cmake
+++ cmake/LLDBDependencies.cmake
@@ -125,7 +125,12 @@
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")
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8065.21232.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150304/a92c7f42/attachment.bin>
More information about the lldb-commits
mailing list