diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 20:38:45 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 21:27:36 +0200 |
commit | 8fe37dbdcff8dc6589488e9ad7720f674144e777 (patch) | |
tree | 4b4e9049ae1b987815be322e2452e5b8c5cced22 | |
parent | meson: use fs.name() and fs.parent() (diff) | |
download | systemd-8fe37dbdcff8dc6589488e9ad7720f674144e777.tar.xz systemd-8fe37dbdcff8dc6589488e9ad7720f674144e777.zip |
meson: always get libbpf include directory from pkgconfig
-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, |