Fix samgr include_dirs for embedded

This commit is contained in:
s_c_c 2024-04-01 11:27:35 +08:00
parent 659770f3f7
commit 2796a31550
3 changed files with 10 additions and 5 deletions

View File

@ -6,7 +6,7 @@
Name: systemabilitymgr_samgr
Version: 1.0.0
Release: 1
Release: 2
Summary: System ability manager
License: Apache License 2.0
Url: https://gitee.com/openharmony/systemabilitymgr_samgr
@ -108,6 +108,9 @@ ln -s /usr/include/samgr %{buildroot}/%{build_opt}%{samgr_path}/services/lsamgr/
%{build_opt}%{samgr_path}
%changelog
* Mon Apr 1 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-2
- Fix samgr include_dirs for embedded
* Wed Jun 28 2023 tianhang <tian_hang@hoperun.com> - 1.0.0-1
- Init and adapt to openeuler

View File

@ -12,17 +12,18 @@
# limitations under the License.
import("//build/ohos.gni")
import("//build/config/sysroot.gni")
config("all_config_samgr_common") {
include_dirs = [
"include",
"${sysroot}/usr/include/samgr",
]
libs = ["samgr_common.z",]
}
config("config_samgr_common") {
include_dirs = [
"include",
"${sysroot}/usr/include/samgr",
]
libs = ["samgr_common.z",]
}

View File

@ -13,11 +13,12 @@
import("//build/ohos.gni")
import("//build/ohos_var.gni")
import("//build/config/sysroot.gni")
config("samgr_proxy_config") {
include_dirs = [
"include",
"//third_party/libxml2/include",
"${sysroot}/usr/include/samgr",
"${sysroot}/usr/include/libxml2",
]
libs = ["samgr_proxy.z",]