numam-dpdk/examples/kni
David Marchand 58a0648bd3 examples/kni: fix build with pkg-config
rm -f build/kni build/kni-static build/kni-shared
test -d build && rmdir -p build || true
[...]
/usr/bin/ld: /tmp/cc72ssnK.o: undefined reference to symbol
'pthread_join@@GLIBC_2.2.5'

This example explicitly call pthread API and should be linked against
the pthread library.

Fixes: 724beb913b ("examples/kni: monitor and update link state continually")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-11-15 15:29:23 +01:00
..
main.c eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
Makefile examples/kni: fix build with pkg-config 2020-11-15 15:29:23 +01:00
meson.build examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00