diff --git a/communication_ipc.spec b/communication_ipc.spec index acd48e6..4135fcf 100644 --- a/communication_ipc.spec +++ b/communication_ipc.spec @@ -12,7 +12,7 @@ Name: communication_ipc Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Inter-process communication (IPC) and Remote Procedure Call (RPC) License: Apache-2.0 and GPL-2.0 URL: https://gitee.com/openharmony/communication_ipc @@ -230,6 +230,9 @@ insmod /%{ashmem_dest_path}/*.ko %endif %changelog +* Tue Mar 26 2024 s_c_c - 1.0.0-5 +- Fix ipc_util_config include_dirs for embedded + * Fri Mar 22 2024 s_c_c - 1.0.0-4 - Fix ipc and dsoftbus compile errors for embedded diff --git a/ipc.BUILD.gn b/ipc.BUILD.gn index 7b6d93d..ee16893 100644 --- a/ipc.BUILD.gn +++ b/ipc.BUILD.gn @@ -13,6 +13,7 @@ import("//build/ohos.gni") import("//build/ohos_var.gni") +import("//build/config/sysroot.gni") SUBSYSTEM_DIR = "//foundation/communication/ipc" IPC_CORE_ROOT = "$SUBSYSTEM_DIR/ipc/native" @@ -21,9 +22,9 @@ config("ipc_util_config") { # header file path include_dirs = [ - "$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include", + "${sysroot}/usr/include/ipc", "$IPC_CORE_ROOT/src/core/include", "$IPC_CORE_ROOT/src/mock/include", - "//commonlibrary/c_utils/base/include", + "${sysroot}/usr/include/c_utils", ] }