Merge "Add a dummy libdl.a."
This commit is contained in:
commit
98ab0c52f5
@ -37,3 +37,15 @@ LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
|
||||
LOCAL_SYSTEM_SHARED_LIBRARIES :=
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
# A dummy libdl.a. Need for static executables using the LLVM unwinder. Most
|
||||
# functions default to failure, others use a sensible default (dl_iterate_phdr()
|
||||
# returns 0, as would happen if the user iterated over every phdr).
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES:= libdl.c
|
||||
LOCAL_CFLAGS := -Wall -Wextra -Wunused -Werror
|
||||
LOCAL_CXX_STL := none
|
||||
|
||||
LOCAL_MODULE := libdl
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user