diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-16 03:38:45 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-16 04:27:36 +0900 |
commit | 8fe37dbdcff8dc6589488e9ad7720f674144e777 (patch) | |
tree | 4b4e9049ae1b987815be322e2452e5b8c5cced22 /src/core | |
parent | 4645074e6fcd999c4933b2d60d1f6edb44511ec5 (diff) | |
download | systemd-8fe37dbdcff8dc6589488e9ad7720f674144e777.tar.gz |
meson: always get libbpf include directory from pkgconfig
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/bpf/meson.build | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/bpf/meson.build b/src/core/bpf/meson.build index 849f092fcf..c88e457716 100644 --- a/src/core/bpf/meson.build +++ b/src/core/bpf/meson.build @@ -33,11 +33,7 @@ cpu_arch_defines = { clang_arch_flags = cpu_arch_defines.get(host_machine.cpu_family(), ['-D__@0@__'.format(host_machine.cpu_family())]) -if meson.version().version_compare('>= 0.58') - libbpf_include_dir = libbpf.get_variable('includedir') -else - libbpf_include_dir = libbpf.get_variable(pkgconfig : 'includedir') -endif +libbpf_include_dir = libbpf.get_variable(pkgconfig : 'includedir') bpf_o_unstripped_cmd = [ clang, |