Projects
Eulaceura:Factory
distributed-build
_service:obs_scm:0026-feat-for-embedded-fix-jso...
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0026-feat-for-embedded-fix-jsoncpp-icu-zlib-sysroot.patch of Package distributed-build
From 4f8c781a40cae211fa28dec3220509c23f68fd1c Mon Sep 17 00:00:00 2001 From: s_c_c <shichuchao@huawei.com> Date: Fri, 28 Jun 2024 15:19:19 +0800 Subject: [PATCH] feat for embedded fix jsoncpp icu zlib sysroot --- openeuler/compiler_gn/third_party/icu/icu4c/BUILD.gn | 5 +++-- openeuler/compiler_gn/third_party/jsoncpp/BUILD.gn | 4 ++-- openeuler/compiler_gn/third_party/zlib/BUILD.gn | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/openeuler/compiler_gn/third_party/icu/icu4c/BUILD.gn b/openeuler/compiler_gn/third_party/icu/icu4c/BUILD.gn index ac57abf..6fdfc7b 100644 --- a/openeuler/compiler_gn/third_party/icu/icu4c/BUILD.gn +++ b/openeuler/compiler_gn/third_party/icu/icu4c/BUILD.gn @@ -1,7 +1,8 @@ import("//build/ohos.gni") +import("//build/config/sysroot.gni") config("icuuc_config"){ - include_dirs = [ "/usr/include/unicode" ] + include_dirs = [ "${sysroot}/usr/include/unicode" ] libs = [ "icuuc" ] } @@ -10,7 +11,7 @@ group("shared_icuuc") { } config("icui18n_config"){ - include_dirs = [ "/usr/include/unicode" ] + include_dirs = [ "${sysroot}/usr/include/unicode" ] libs = [ "icui18n" ] } diff --git a/openeuler/compiler_gn/third_party/jsoncpp/BUILD.gn b/openeuler/compiler_gn/third_party/jsoncpp/BUILD.gn index 2264d70..5abc48e 100644 --- a/openeuler/compiler_gn/third_party/jsoncpp/BUILD.gn +++ b/openeuler/compiler_gn/third_party/jsoncpp/BUILD.gn @@ -1,8 +1,8 @@ import("//build/ohos.gni") - +import("//build/config/sysroot.gni") config("jsoncpp_config") { - include_dirs = [ "/usr/include/json" ] + include_dirs = [ "${sysroot}/usr/include/json" ] libs = ["jsoncpp"] } diff --git a/openeuler/compiler_gn/third_party/zlib/BUILD.gn b/openeuler/compiler_gn/third_party/zlib/BUILD.gn index 1837ef8..00cb0de 100644 --- a/openeuler/compiler_gn/third_party/zlib/BUILD.gn +++ b/openeuler/compiler_gn/third_party/zlib/BUILD.gn @@ -1,7 +1,8 @@ import("//build/ohos.gni") +import("//build/config/sysroot.gni") config("zlib_config") { - include_dirs = [ "/usr/include" ] + include_dirs = [ "${sysroot}/usr/include" ] libs = [ "z" ] } -- 2.45.2.windows.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2