Skip to content

LOCAL_EXPORT_C_INCLUDES & LOCAL_CPP_FEATURES in Android.mk #4

Description

@javacom

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions