Tony Ambardar 6b2bcd2597 bpftools: fix libbpf pkgconfig file
The pkgconfig file hardcodes a host library directory which cannot be
overridden by OpenWrt during builds. Use SED to fix this and potential
include directory problems, as is done with several other packages.

This fixes a strange issue intermittently seen building iproute2 on the
oxnas target:

iptables modules directory: /usr/lib/iptables
libc has setns: yes
SELinux support: no
libbpf support: no
	libbpf version 0.3.0 is too low, please update it to at least 0.1.0
	LIBBPF_FORCE=on set, but couldn't find a usable libbpf

Fixes: 2f0d672088c3 ("bpftools: add utility and library packages
supporting eBPF usage")
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit 9e64e4ce26719ea81637b0e3d9754bd5190f0c21)
2021-03-29 22:26:27 +02:00
..
2020-04-18 21:06:45 +02:00
2020-12-26 20:39:25 +01:00
2021-01-01 13:22:58 +01:00
2021-02-14 15:15:32 +01:00
2020-12-22 18:59:10 +01:00
2020-11-24 15:18:16 +00:00
2019-04-06 19:14:06 +02:00
2020-05-13 19:01:23 +02:00