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