diff --git a/c_utils.BUILD.gn b/c_utils.BUILD.gn index d9d4246861789d38c32fecfc17dd9d6aead847f8..329339ce67d0555dcda1793f5eea7a3d6eaabe69 100644 --- a/c_utils.BUILD.gn +++ b/c_utils.BUILD.gn @@ -11,14 +11,15 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") +import("//build/config/sysroot.gni") config("utils_configs") { - include_dirs = [ "include" ] + include_dirs = [ "${sysroot}/usr/include/c_utils" ] libs = [ "utils.z" ] } config("utilsbase_config") { - include_dirs = [ "include" ] + include_dirs = [ "${sysroot}/usr/include/c_utils" ] libs = [ "utilsbase.z" ] } diff --git a/commonlibrary_c_utils.spec b/commonlibrary_c_utils.spec index 54e5fe3a97e7edd6ef83ab72c795f0f5b0f60b0c..bbcdd680a5285ed365bced24d7097c537136477e 100644 --- a/commonlibrary_c_utils.spec +++ b/commonlibrary_c_utils.spec @@ -12,7 +12,7 @@ Name: commonlibrary_c_utils # rpm包版本号 Version: 1.0.0 # rpm包Release号,每次修改需要+1,changelog同步修改 -Release: 1 +Release: 2 # rpm简介 Summary: C++ common basic library for distributed module construction and operation # License openHarmony的应该都是Apache License 2.0 @@ -117,5 +117,8 @@ ln -s /usr/include/c_utils %{buildroot}%{build_opt}/openeuler/compiler_gn/common # 变更日志 %changelog +* Fri Mar 15 2024 s_c_c - 1.0.0-2 +- Fix sysroot path for embedded + * Thu Jun 15 2023 chrisshangguan - 1.0.0-1 - Init and adapt to openeuler