mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-11 11:09:06 +08:00
Add a test step to produce a minimal binary using libbpf.
This patch adds a test step to link a minimal program to libbpf library produced, making sure that the library works.
This commit is contained in:
committed by
Andrii Nakryiko
parent
70ad3e8314
commit
6bf8babb33
@@ -20,4 +20,4 @@ if ! ldd build/libbpf.so | grep -q libelf; then
|
||||
exit 1
|
||||
fi
|
||||
make -j$((4*$(nproc))) -C src OBJDIR=../build DESTDIR=../install install
|
||||
rm -rf build install
|
||||
CFLAGS=${CFLAGS} $(dirname $0)/test_compile.sh
|
||||
|
||||
Reference in New Issue
Block a user