mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
meson: bump libbpf dependency to 1.4.0 when using gcc
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:b19fdbf1be
Related to: https://github.com/systemd/systemd/issues/31869 Follow-up for8aee931e7a
This commit is contained in:
parent
132f6cfcfe
commit
6c699c61ca
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user