1 LOCAL_PATH := $(call my-dir)
2
3 include $(CLEAR_VARS)
4 LOCAL_MODULE := libfoo
5 LOCAL_SRC_FILES := foo.c
6
7 # LOCAL_LDLIBS are always ignored for static libraries.
8 # This should generate a warning when ndk-build is run!
9 LOCAL_LDLIBS := -llog
10
11 include $(BUILD_STATIC_LIBRARY)
12