projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132f6cf
)
meson: bump libbpf dependency to 1.4.0 when using gcc
author
Luca Boccassi
<bluca@debian.org>
Mon, 29 Apr 2024 19:25:34 +0000
(20:25 +0100)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 29 Apr 2024 23:17:03 +0000
(
01:17
+0200)
bpf_core_type_id_kernel() needs libbpf 1.4.0 when building with gcc
rather than clang, so bump the dependency accordingly.
More precisely, the following change is needed:
https://github.com/libbpf/libbpf/commit/
b19fdbf1be21a28f88740375a575ebd9dfbea68f
Related to: https://github.com/systemd/systemd/issues/31869
Follow-up for
8aee931e7ae1adb01eeac0e1e4c0aef6ed3969ec
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 547039064a165fb36d0876a92955e13e18be456c..78bd252f901b67122c0dc59d985f445c39b332e4 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-1056,7
+1056,7
@@
bpf_framework = get_option('bpf-framework')
bpf_compiler = get_option('bpf-compiler')
libbpf = dependency('libbpf',
required : bpf_framework,
- version : bpf_compiler == 'gcc' ? '>= 1.
0
.0' : '>= 0.1.0')
+ version : bpf_compiler == 'gcc' ? '>= 1.
4
.0' : '>= 0.1.0')
conf.set10('HAVE_LIBBPF', libbpf.found())
if not libbpf.found()