summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/linux/ProcessLauncherLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/linux/ProcessLauncherLinux.cpp')
-rw-r--r--lldb/source/Host/linux/ProcessLauncherLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/ProcessLauncherLinux.cpp b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
index 4a51f8f4f53..27a6329da06 100644
--- a/lldb/source/Host/linux/ProcessLauncherLinux.cpp
+++ b/lldb/source/Host/linux/ProcessLauncherLinux.cpp
@@ -26,7 +26,7 @@ using namespace lldb;
using namespace lldb_private;
static void FixupEnvironment(Args &env) {
-#ifdef __ANDROID_NDK__
+#ifdef __ANDROID__
// If there is no PATH variable specified inside the environment then set the
// path to /system/bin. It is required because the default path used by
// execve() is wrong on android.
OpenPOWER on IntegriCloud