From f7956884d605a49fe70df5b3b2e7f131a8b03bd8 Mon Sep 17 00:00:00 2001 From: s_c_c Date: Wed, 3 Apr 2024 10:54:09 +0800 Subject: [PATCH] Fix huks sysroot patch for embedded --- huks.BUILD.gn | 3 ++- security_huks.spec | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/huks.BUILD.gn b/huks.BUILD.gn index 35b1585..7ea873f 100755 --- a/huks.BUILD.gn +++ b/huks.BUILD.gn @@ -12,9 +12,10 @@ # limitations under the License. import("//build/ohos.gni") +import("//build/config/sysroot.gni") config("huks_config") { - include_dirs = [ "/usr/include/huks" ] + include_dirs = [ "${sysroot}/usr/include/huks" ] libs = ["hukssdk.z"] } diff --git a/security_huks.spec b/security_huks.spec index e2b4603..1f70462 100644 --- a/security_huks.spec +++ b/security_huks.spec @@ -6,7 +6,7 @@ Name: security_huks Version: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Key management service License: Apache-2.0 URL: https://gitee.com/openharmony/security_huks @@ -110,6 +110,9 @@ ln -s /usr/include/huks %{buildroot}%{build_opt}/openeuler/compiler_gn/base/sec %{build_opt}/* %changelog +* Wed Apr 3 2024 s_c_c - 1.0.0-6 +- Fix huks sysroot patch for embedded + * Tue Apr 2 2024 s_c_c - 1.0.0-5 - Fix header_out_path variable error