From 8ce758f48adc263924db0349d3b7059e52fc0be7 Mon Sep 17 00:00:00 2001 From: Sergei Dryganets Date: Tue, 26 Jun 2018 10:54:50 -0700 Subject: [PATCH] Android ndk-build fix for ndk-r14+ (#18814) Summary: According to [ndk release notes](https://github.com/android-ndk/ndk/wiki/Changelog-r14-beta1#ndk-build) flag APP_ALLOW_MISSING_DEPS should be set to true in order to fix ndk-build tool. If it builds it will work. On older ndk flag is ignored. [ANDROID] [MINOR] [Application.mk] - build with android-ndk-14+ supported Closes https://github.com/facebook/react-native/pull/18814 Differential Revision: D8643513 Pulled By: hramos fbshipit-source-id: d96f8c039a754b9b95839f0a0bd98fcfdaf39bd4 --- ReactAndroid/src/main/jni/react/jni/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/jni/react/jni/Android.mk b/ReactAndroid/src/main/jni/react/jni/Android.mk index 8fe31894c..9e7dcb7a3 100644 --- a/ReactAndroid/src/main/jni/react/jni/Android.mk +++ b/ReactAndroid/src/main/jni/react/jni/Android.mk @@ -37,7 +37,7 @@ LOCAL_CFLAGS += $(CXX11_FLAGS) LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS) LOCAL_LDLIBS += -landroid -LOCAL_SHARED_LIBRARIES := libfolly_json libfbjni libjsc libglog_init libyoga libprivatedata +LOCAL_SHARED_LIBRARIES := libfolly_json libfb libjsc libglog_init libyoga libprivatedata LOCAL_STATIC_LIBRARIES := libreactnative include $(BUILD_SHARED_LIBRARY)