Boost-for-Android-Prebuilt icon indicating copy to clipboard operation
Boost-for-Android-Prebuilt copied to clipboard

LOCAL_EXPORT_C_INCLUDES & LOCAL_CPP_FEATURES in Android.mk

Open javacom opened this issue 9 years ago • 0 comments

Android.mk should add these 2 variables to each of the LOCAL_MODULE so that the prebuilt static library can be put into ndk-bundle/sources/ LOCAL_EXPORT_C_INCLUDES LOCAL_CPP_FEATURES like below

include $(CLEAR_VARS)
LOCAL_MODULE := libboost_program_options
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libboost_program_options-gcc-mt-1_53.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CPP_FEATURES := rtti exceptions
include $(PREBUILT_STATIC_LIBRARY)

javacom avatar Oct 31 '16 17:10 javacom