ae5c64413b
This should help prevent broken builds next time I'm messing with assembler/compiler/linker flags... Change-Id: I30f15a3ce3c3f3c60cad7bc59aaba9f42d792224
30 lines
534 B
Makefile
30 lines
534 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
#
|
|
# static
|
|
#
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
libthread_db.c
|
|
|
|
LOCAL_MODULE:= libthread_db
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
#
|
|
# shared
|
|
#
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db
|
|
LOCAL_MODULE := libthread_db
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
LOCAL_SHARED_LIBRARIES := libdl libc
|
|
LOCAL_ALLOW_UNDEFINED_SYMBOLS := false
|
|
LOCAL_SYSTEM_SHARED_LIBRARIES :=
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|