summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/CMakeLists.txt')
-rw-r--r--lldb/source/Host/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Host/CMakeLists.txt b/lldb/source/Host/CMakeLists.txt
index e77b535b796..50f575925cb 100644
--- a/lldb/source/Host/CMakeLists.txt
+++ b/lldb/source/Host/CMakeLists.txt
@@ -32,10 +32,10 @@ add_host_subdirectory(common
common/TimeValue.cpp
)
-if (NOT __ANDROID_NDK__)
-add_host_subdirectory(common
- common/Editline.cpp
- )
+if (NOT LLDB_DISABLE_LIBEDIT)
+ add_host_subdirectory(common
+ common/Editline.cpp
+ )
endif()
add_host_subdirectory(posix
OpenPOWER on IntegriCloud