define Py_BUILD_CORE for unicodedata module

This commit is contained in:
Akinwale Ariwodola 2021-08-21 13:43:52 +01:00
parent 8aa68d6d8e
commit 1b4b7bb9b9

View file

@ -949,6 +949,7 @@ build_python_for_abi ()
echo 'LOCAL_PATH := $(call my-dir)' echo 'LOCAL_PATH := $(call my-dir)'
echo 'include $(CLEAR_VARS)' echo 'include $(CLEAR_VARS)'
echo 'LOCAL_MODULE := unicodedata' echo 'LOCAL_MODULE := unicodedata'
echo 'LOCAL_CFLAGS := -DPy_BUILD_CORE'
echo "MY_PYTHON_SRC_ROOT := $PYTHON_SRCDIR" echo "MY_PYTHON_SRC_ROOT := $PYTHON_SRCDIR"
echo 'LOCAL_SRC_FILES := \' echo 'LOCAL_SRC_FILES := \'
echo ' $(MY_PYTHON_SRC_ROOT)/Modules/unicodedata.c' echo ' $(MY_PYTHON_SRC_ROOT)/Modules/unicodedata.c'