From 0f464934775548d27d26c13cdf5b4c133a9053b9 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 23 Feb 2019 17:01:44 -0500 Subject: [PATCH] Compile magiskboot as static --- native/jni/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 41f475787..6c00c5771 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -109,6 +109,7 @@ LOCAL_SRC_FILES := \ magiskboot/pattern.cpp LOCAL_LDLIBS := -lz +LOCAL_LDFLAGS := -static include $(BUILD_EXECUTABLE) endif