Fix sysroot path for embedded

This commit is contained in:
s_c_c 2024-03-18 11:45:02 +08:00
parent 8bff0b2d52
commit 78b51ced50
2 changed files with 7 additions and 3 deletions

View File

@ -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" ]
}

View File

@ -12,7 +12,7 @@ Name: commonlibrary_c_utils
# rpm包版本号
Version: 1.0.0
# rpm包Release号每次修改需要+1changelog同步修改
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 <shichuchao@huawei.com> - 1.0.0-2
- Fix sysroot path for embedded
* Thu Jun 15 2023 chrisshangguan <shangguanjingshi@huawei.com> - 1.0.0-1
- Init and adapt to openeuler