Commit 915b4901 authored by topjohnwu's avatar topjohnwu

Build libsqlite.so only with magisk

Fix #1175
parent c699f308
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
ifdef B_MAGISK
# libsqlite.so (stub) # libsqlite.so (stub)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE:= libsqlite LOCAL_MODULE:= libsqlite
...@@ -7,6 +9,8 @@ LOCAL_C_INCLUDES := $(EXT_PATH)/include ...@@ -7,6 +9,8 @@ LOCAL_C_INCLUDES := $(EXT_PATH)/include
LOCAL_SRC_FILES := stubs/sqlite3_stub.c LOCAL_SRC_FILES := stubs/sqlite3_stub.c
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
endif
# libselinux.so (stub) # libselinux.so (stub)
#include $(CLEAR_VARS) #include $(CLEAR_VARS)
#LOCAL_MODULE:= libselinux #LOCAL_MODULE:= libselinux
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment