Skip to content

Instantly share code, notes, and snippets.

@rumplestilzken
Created March 1, 2022 23:38
Show Gist options
  • Save rumplestilzken/73eff85f5c372dedaaefb94ed8f7fb8a to your computer and use it in GitHub Desktop.
Save rumplestilzken/73eff85f5c372dedaaefb94ed8f7fb8a to your computer and use it in GitHub Desktop.
Android.mk used to build sqlite3 as a static library
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := sqlite3
LOCAL_SRC_FILES := \
$(subst $(LOCAL_PATH)/,, \
$(wildcard $(LOCAL_PATH)/*.c))
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
include $(BUILD_STATIC_LIBRARY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment