Add -lrt for all NNAPI builds

Change-Id: I94b3f1ab0eabab81da72b369c8c7c07f558e228e
This commit is contained in:
Johan Gunnarsson 2019-07-05 12:10:25 +02:00
parent 87db8e8b59
commit 95d7e2ed5a

View File

@ -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