From f867318b27ffa64e227311e1bf712a41be0c34f7 Mon Sep 17 00:00:00 2001
From: Robert Drab <robert.drab@huawei.com>
Date: Mon, 22 Mar 2021 13:30:12 +0100
Subject: [PATCH] ohos-xts-acts: Add libcap dependency

After recent ACTS test suite update DAC and Capabilities tests
now require sys/capabilities.h header file. Previously there was
capset/capget extern declarations in the sources.

Signed-off-by: Robert Drab <robert.drab@huawei.com>
---
 .../recipes-ohos-xts-acts/ohos-xts-acts/ohos-xts-acts_git.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ohos-acts/recipes-ohos-xts-acts/ohos-xts-acts/ohos-xts-acts_git.bb b/meta-ohos-acts/recipes-ohos-xts-acts/ohos-xts-acts/ohos-xts-acts_git.bb
index 93e57ca7..5efbfee6 100644
--- a/meta-ohos-acts/recipes-ohos-xts-acts/ohos-xts-acts/ohos-xts-acts_git.bb
+++ b/meta-ohos-acts/recipes-ohos-xts-acts/ohos-xts-acts/ohos-xts-acts_git.bb
@@ -32,7 +32,7 @@ do_install_append() {
 
 FILES_${PN} += "${datadir}/acts-data/*"
 
-DEPENDS += "ohos-googletest ohos-libsec mtd-utils-native"
+DEPENDS += "ohos-googletest ohos-libsec mtd-utils-native libcap"
 DEPENDS_append_toolchain-clang += "compiler-rt"
 RRECOMMENDS_${PN} += "\
     kernel-module-block2mtd \
-- 
GitLab