Index: Makefile |
diff --git a/Makefile b/Makefile |
index a0c08a6d9634c7b5e7f5590f1e6905701f288fbf..329f91c83f2f3d48229de43794762da70d658d65 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -227,6 +227,11 @@ ifeq ($(no_omit_framepointer), on) |
GYPFLAGS += -Drelease_extra_cflags=-fno-omit-frame-pointer |
endif |
+ifdef android_ndk_root |
+ GYPFLAGS += -Dandroid_ndk_root=$(android_ndk_root) |
+ export ANDROID_NDK_ROOT = $(android_ndk_root) |
+endif |
+ |
# ----------------- available targets: -------------------- |
# - "grokdump": rebuilds heap constants lists used by grokdump |
# - any arch listed in ARCHES (see below) |