24/06/2022 08:06, Ciara Loftus: > Linking with libbpf v0.8.0 causes deprication warnings. As a temporary > measure, prevent linking with libbpf versions v0.8.0 and greater. This > limitation should be removed in the future when appropriate > compatibility measures are introduced. > > Signed-off-by: Ciara Loftus <ciara.lof...@intel.com> > --- > -bpf_dep = dependency('libbpf', required: false, method: 'pkg-config') > -if not bpf_dep.found() > - bpf_dep = cc.find_library('bpf', required: false) > -endif > +bpf_dep = dependency('libbpf', version : '<=0.7.0', required: false, method: > 'pkg-config')
It is also removing the find_library() method. Any reason it was there?