diff --git a/tensorflow/lite/tools/make/Makefile b/tensorflow/lite/tools/make/Makefile index d8565c2790e..dcf2c94f866 100644 --- a/tensorflow/lite/tools/make/Makefile +++ b/tensorflow/lite/tools/make/Makefile @@ -164,6 +164,7 @@ ifeq ($(BUILD_WITH_NNAPI),true) CORE_CC_ALL_SRCS += tensorflow/lite/delegates/nnapi/nnapi_delegate.cc CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/nnapi_implementation.cc CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/quant_lstm_sup.cc + LIBS += -lrt else CORE_CC_ALL_SRCS += tensorflow/lite/delegates/nnapi/nnapi_delegate_disabled.cc CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/nnapi_implementation_disabled.cc