Files
extra/libbpf/consolidate-lib-dirs.patch
2025-06-22 20:39:04 -05:00

20 lines
402 B
Diff

Alpine doesn't recognize lib64 directories by default, so we consolidate into lib.
diff --git a/src/Makefile b/src/Makefile
index e9021fe..1d86ecd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -54,11 +54,7 @@ INSTALL = install
DESTDIR ?=
-ifeq ($(shell uname -m),x86_64)
- LIBSUBDIR := lib64
-else
- LIBSUBDIR := lib
-endif
+LIBSUBDIR := lib
PREFIX ?= /usr
LIBDIR ?= $(PREFIX)/$(LIBSUBDIR)