# Only use this on the device or emulator. ifeq ($(TARGET_ARCH),arm) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := \ llvm-link.cpp LOCAL_STATIC_LIBRARIES := libLLVMLinker libLLVMBitReader libLLVMBitWriter libLLVMCore libLLVMSupport libLLVMSystem libLLVMAsmParser LOCAL_MODULE := llvm-link LOCAL_LDLIBS += -lpthread -lm -ldl include $(LLVM_HOST_BUILD_MK) include $(BUILD_HOST_EXECUTABLE) endif