diff options
author | Eduard Zingerman <[email protected]> | 2024-08-23 12:44:09 -0700 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2024-08-23 14:33:30 -0700 |
commit | 5772c3458bb8d17d763e0f411e1bae1bf4eda88d (patch) | |
tree | b08c86ecc70da8bd2741c709f2623fa178d046d2 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 5cd0aea0b16a74769533ca605bc43634a4485dd9 (diff) |
selftests/bpf: use simply-expanded variables for libpcap flags
Save pkg-config output for libpcap as simply-expanded variables.
For an obscure reason 'shell' call in LDLIBS/CFLAGS recursively
expanded variables makes *.test.o files compilation non-parallel
when make is executed with -j option.
While at it, reuse 'pkg-config --cflags' call to define
-DTRAFFIC_MONITOR=1 option, it's exit status is the same as for
'pkg-config --exists'.
Fixes: f52403b6bfea ("selftests/bpf: Add traffic monitor functions.")
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions