!37 适配zlib修改

Merge pull request !37 from ganchuantao/libbpf1023
This commit is contained in:
openharmony_ci 2024-10-23 07:24:53 +00:00 committed by Gitee
commit 7c2aad20f7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 10 deletions

View File

@ -44,7 +44,6 @@ config("libbpf_public_config") {
"./src",
"./include",
"./include/uapi",
"//third_party/zlib",
"//third_party/elfio/c_wrapper",
"//third_party/elfio/elfio",
]
@ -52,10 +51,8 @@ config("libbpf_public_config") {
ohos_shared_library("libbpf") {
branch_protector_ret = "pac_ret"
deps = [
"//third_party/elfio:elfio",
"//third_party/zlib:libz",
]
deps = [ "//third_party/elfio:elfio" ]
external_deps = [ "zlib:libz" ]
sources = [
"./src/bpf.c",
"./src/bpf.h",

View File

@ -21,11 +21,8 @@
"rom": "",
"ram": "",
"deps": {
"components": [],
"third_party": [
"elfio",
"zlib"
]
"components": [ "zlib" ],
"third_party": [ "elfio" ]
},
"build": {
"sub_component": [],