From 65f5e7f3d341f0aa0b35c3725b99775b9643f32c Mon Sep 17 00:00:00 2001 From: Gloria Yin Date: Tue, 18 May 2021 09:44:53 +0800 Subject: [PATCH] fix ai engine testcase 20210518. Change-Id: I16c4339683d0840f9dc690857f6dc3aa50d7e37a --- ai_lite/ai_engine_posix/base/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ai_lite/ai_engine_posix/base/BUILD.gn b/ai_lite/ai_engine_posix/base/BUILD.gn index dc7813675..1d35bc3aa 100644 --- a/ai_lite/ai_engine_posix/base/BUILD.gn +++ b/ai_lite/ai_engine_posix/base/BUILD.gn @@ -63,5 +63,8 @@ hcpptest_suite("ActsAiEngineTest") { "//test/xts/acts/ai_lite/ai_engine_posix/base/src/sample:sample_plugin_2_async", ] cflags = [ "-Wno-error" ] - ldflags = [ "-lstdc++" ] + ldflags = [ + "-lstdc++", + "-ldl", + "-lpthread",] } -- GitLab