blob: b2b17e1cfd0a3585a59fdccb544f6245080f6d45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/Makefile 2021-10-09 14:32:07.542062668 +0200
+++ b/Makefile 2021-10-09 14:32:02.011962129 +0200
@@ -106,7 +106,7 @@
CLANG_BPF_SYS_INCLUDES = $(shell $(CLANG) -v -E - </dev/null 2>&1 \
| sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }')
-CGOFLAG = CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-Bstatic -lbpf -lelf -lz -Wl,-Bdynamic"
+CGOFLAG = CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-Bstatic -lelf -lz -Wl,-Bdynamic -lbpf"
endif
endif
endif
|