mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-27 13:47:38 +00:00
Build libselinux without ANDROID defined
This commit is contained in:
parent
947e3b06b4
commit
4e349acb50
4
native/jni/external/Android.mk
vendored
4
native/jni/external/Android.mk
vendored
@ -248,12 +248,12 @@ include $(BUILD_STATIC_LIBRARY)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LIBSELINUX := $(SE_PATH)/libselinux/include
|
LIBSELINUX := $(SE_PATH)/libselinux/include
|
||||||
LOCAL_MODULE:= libselinux
|
LOCAL_MODULE:= libselinux
|
||||||
LOCAL_C_INCLUDES := $(LIBSELINUX) $(LIBPCRE2)
|
LOCAL_C_INCLUDES := $(LIBSELINUX) $(LIBPCRE2) $(LIBSEPOL)
|
||||||
LOCAL_EXPORT_C_INCLUDES := $(LIBSELINUX)
|
LOCAL_EXPORT_C_INCLUDES := $(LIBSELINUX)
|
||||||
LOCAL_STATIC_LIBRARIES := libpcre2
|
LOCAL_STATIC_LIBRARIES := libpcre2
|
||||||
LOCAL_CFLAGS := \
|
LOCAL_CFLAGS := \
|
||||||
-Wno-implicit-function-declaration -Wno-int-conversion -Wno-unused-function \
|
-Wno-implicit-function-declaration -Wno-int-conversion -Wno-unused-function \
|
||||||
-D_GNU_SOURCE -DUSE_PCRE2 \
|
-D_GNU_SOURCE -DUSE_PCRE2 -UANDROID \
|
||||||
-DNO_PERSISTENTLY_STORED_PATTERNS -DDISABLE_SETRANS -DDISABLE_BOOL \
|
-DNO_PERSISTENTLY_STORED_PATTERNS -DDISABLE_SETRANS -DDISABLE_BOOL \
|
||||||
-DNO_MEDIA_BACKEND -DNO_X_BACKEND -DNO_DB_BACKEND -DNO_ANDROID_BACKEND
|
-DNO_MEDIA_BACKEND -DNO_X_BACKEND -DNO_DB_BACKEND -DNO_ANDROID_BACKEND
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user