Add support for linking LibBPF and LibXDP object files inside of Makefile if LIBBPF_LIBXDP_STATIC is 1.

This commit is contained in:
Christian Deacon
2025-02-22 10:56:49 -05:00
parent 73cf82303e
commit 179cbeab6a
2 changed files with 24 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ jobs:
- name: Make and install LibXDP
run: make libxdp
- name: Make project
run: make
run: LIBBPF_LIBXDP_STATIC=1 make
- name: Install project
run: sudo make install
- name: Store build artifacts