From b8a20a7d0306d47463bfc560d277a7b6382f21e7 Mon Sep 17 00:00:00 2001
From: Esben Haabendal <esben.haabendal@huawei.com>
Date: Wed, 6 Jul 2022 11:36:40 +0200
Subject: [PATCH] openharmony.inc: Make sure to build libfts.a library

This ensures libfts.a static library file is built, even if distro has
generally disabled static libraries.

Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
---
 conf/distro/include/openharmony.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/distro/include/openharmony.inc b/conf/distro/include/openharmony.inc
index de396b9c..f5631e7c 100644
--- a/conf/distro/include/openharmony.inc
+++ b/conf/distro/include/openharmony.inc
@@ -25,6 +25,9 @@ PREFERRED_VERSION_openharmony-standard = "${OPENHARMONY_VERSION}"
 # clang_rt.profile library is used in openharmony-standard build
 PACKAGECONFIG:pn-compiler-rt:append:df-openharmony = " profile"
 
+# libfts.a is used in openharmony-standard build
+DISABLE_STATIC:pn-fts:df-openharmony = ""
+
 require openssl.inc
 require java.inc
 require musl-ldso-paths.inc
-- 
GitLab