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