diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-03-02 08:29:13 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-03-04 01:17:54 +0300 |
commit | a50a88f026fb28ece512c50e8ef7cd4ef6d0a291 (patch) | |
tree | 85f570a96bc42e447944abc92aaab3714b7b157a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 946ad0499d984be13ec02f8257ca0527ec287bf2 (diff) | |
download | linux-a50a88f026fb28ece512c50e8ef7cd4ef6d0a291.tar.xz |
selftests: netfilter: fix a build error on openSUSE
This patch fixed the following build error on openSUSE Leap 15.3:
=======================================================================
gcc nf-queue.c -lmnl -o tools/testing/selftests/netfilter/nf-queue
nf-queue.c:13:10: fatal error: libmnl/libmnl.h: No such file or directory
#include <libmnl/libmnl.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
=======================================================================
It is because libmnl.h is put in the directory of
"/usr/include/libmnl/libmnl/" on openSUSE, not "/usr/include/libmnl/":
> rpm -ql libmnl-devel
/usr/include/libmnl
/usr/include/libmnl/libmnl
/usr/include/libmnl/libmnl/libmnl.h
/usr/lib64/libmnl.so
/usr/lib64/pkgconfig/libmnl.pc
Suggested-by: Kai Liu <kai.liu@suse.com>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions