Fix sysroot path for embedded
This commit is contained in:
parent
8bff0b2d52
commit
78b51ced50
@ -11,14 +11,15 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//build/config/sysroot.gni")
|
||||||
|
|
||||||
config("utils_configs") {
|
config("utils_configs") {
|
||||||
include_dirs = [ "include" ]
|
include_dirs = [ "${sysroot}/usr/include/c_utils" ]
|
||||||
libs = [ "utils.z" ]
|
libs = [ "utils.z" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
config("utilsbase_config") {
|
config("utilsbase_config") {
|
||||||
include_dirs = [ "include" ]
|
include_dirs = [ "${sysroot}/usr/include/c_utils" ]
|
||||||
libs = [ "utilsbase.z" ]
|
libs = [ "utilsbase.z" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Name: commonlibrary_c_utils
|
|||||||
# rpm包版本号
|
# rpm包版本号
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
# rpm包Release号,每次修改需要+1,changelog同步修改
|
# rpm包Release号,每次修改需要+1,changelog同步修改
|
||||||
Release: 1
|
Release: 2
|
||||||
# rpm简介
|
# rpm简介
|
||||||
Summary: C++ common basic library for distributed module construction and operation
|
Summary: C++ common basic library for distributed module construction and operation
|
||||||
# License openHarmony的应该都是Apache License 2.0
|
# License openHarmony的应该都是Apache License 2.0
|
||||||
@ -117,5 +117,8 @@ ln -s /usr/include/c_utils %{buildroot}%{build_opt}/openeuler/compiler_gn/common
|
|||||||
|
|
||||||
# 变更日志
|
# 变更日志
|
||||||
%changelog
|
%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
|
* Thu Jun 15 2023 chrisshangguan <shangguanjingshi@huawei.com> - 1.0.0-1
|
||||||
- Init and adapt to openeuler
|
- Init and adapt to openeuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user