Skip to content

Instantly share code, notes, and snippets.

@xlab
Last active December 26, 2015 13:09
Show Gist options
  • Select an option

  • Save xlab/7156089 to your computer and use it in GitHub Desktop.

Select an option

Save xlab/7156089 to your computer and use it in GitHub Desktop.
Android.mk to build botan library within android/external
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := armeabi
LOCAL_NDK_VERSION := 5
LOCAL_SDK_VERSION := 9
LOCAL_NDK_STL_VARIANT := stlport_static
LOCAL_MODULE := botan
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := botan_all.cpp
LOCAL_CPPFLAGS := -DBOTAN_USE_GCC_INLINE_ASM=0 -fexceptions -frtti
LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment