mirror of
https://github.com/openharmony/third_party_libabigail.git
synced 2026-07-01 06:09:52 -04:00
libabigail changed its static library dependency on libxml2 to a dynamic library dependency.
https://gitcode.com/openharmony/third_party_libabigail/issues/22 Signed-off-by: hosted <chenyadong18@huawei.com>
This commit is contained in:
+1
-2
@@ -23,8 +23,7 @@
|
|||||||
"ram": "",
|
"ram": "",
|
||||||
"deps": {
|
"deps": {
|
||||||
"components": [
|
"components": [
|
||||||
"elfutils",
|
"elfutils"
|
||||||
"libxml2"
|
|
||||||
],
|
],
|
||||||
"third_party": []
|
"third_party": []
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -233,12 +233,6 @@
|
|||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#define VERSION "2.4"
|
#define VERSION "2.4"
|
||||||
|
|
||||||
/* Defined if user enabled BTF usage */
|
|
||||||
/* #define WITH_BTF 1*/
|
|
||||||
|
|
||||||
/* struct btf_enum64 is present */
|
|
||||||
/* #define WITH_BTF_ENUM64 1 */
|
|
||||||
|
|
||||||
/* The BTF_KIND_DECL_TAG enumerator is present */
|
/* The BTF_KIND_DECL_TAG enumerator is present */
|
||||||
/* #undef WITH_BTF_KIND_DECL_TAG */
|
/* #undef WITH_BTF_KIND_DECL_TAG */
|
||||||
|
|
||||||
@@ -251,9 +245,6 @@
|
|||||||
/* The function btf__type_cnt is present */
|
/* The function btf__type_cnt is present */
|
||||||
#define WITH_BTF__TYPE_CNT 1
|
#define WITH_BTF__TYPE_CNT 1
|
||||||
|
|
||||||
/* Defined if user enables and system has the libctf library */
|
|
||||||
/* #define WITH_CTF 1*/
|
|
||||||
|
|
||||||
/* compile the deb package support in abipkgdiff */
|
/* compile the deb package support in abipkgdiff */
|
||||||
#define WITH_DEB 1
|
#define WITH_DEB 1
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -48,12 +48,13 @@ ohos_static_library("libabigail_static") {
|
|||||||
"//third_party/libabigail",
|
"//third_party/libabigail",
|
||||||
"//third_party/libabigail/include",
|
"//third_party/libabigail/include",
|
||||||
"//third_party/libabigail/src",
|
"//third_party/libabigail/src",
|
||||||
|
"/usr/include/libxml2"
|
||||||
]
|
]
|
||||||
|
|
||||||
external_deps = [
|
external_deps = [
|
||||||
"elfutils:libdw_static",
|
"elfutils:libdw_static",
|
||||||
"libxml2:static_libxml2",
|
|
||||||
]
|
]
|
||||||
|
ldflags = [ "-lxml2" ]
|
||||||
|
|
||||||
defines = [ "ABIGAIL_ROOT_SYSTEM_LIBDIR=\"lib\"" ]
|
defines = [ "ABIGAIL_ROOT_SYSTEM_LIBDIR=\"lib\"" ]
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ ohos_executable("abidiff") {
|
|||||||
deps = [ "//third_party/libabigail/src:libabigail_static" ]
|
deps = [ "//third_party/libabigail/src:libabigail_static" ]
|
||||||
external_deps = [ "elfutils:libdw_static" ]
|
external_deps = [ "elfutils:libdw_static" ]
|
||||||
|
|
||||||
|
ldflags = [ "-lxml2" ]
|
||||||
install_enable = false
|
install_enable = false
|
||||||
subsystem_name = "thirdparty"
|
subsystem_name = "thirdparty"
|
||||||
part_name = "libabigail"
|
part_name = "libabigail"
|
||||||
@@ -45,6 +46,7 @@ ohos_executable("abidw") {
|
|||||||
deps = [ "//third_party/libabigail/src:libabigail_static" ]
|
deps = [ "//third_party/libabigail/src:libabigail_static" ]
|
||||||
external_deps = [ "elfutils:libdw_static" ]
|
external_deps = [ "elfutils:libdw_static" ]
|
||||||
|
|
||||||
|
ldflags = [ "-lxml2" ]
|
||||||
install_enable = false
|
install_enable = false
|
||||||
subsystem_name = "thirdparty"
|
subsystem_name = "thirdparty"
|
||||||
part_name = "libabigail"
|
part_name = "libabigail"
|
||||||
|
|||||||
Reference in New Issue
Block a user