summaryrefslogtreecommitdiff
path: root/extra/libbpf
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /extra/libbpf
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'extra/libbpf')
-rw-r--r--extra/libbpf/10-consolidate-lib-dirs.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/libbpf/10-consolidate-lib-dirs.patch b/extra/libbpf/10-consolidate-lib-dirs.patch
new file mode 100644
index 0000000..8a270b7
--- /dev/null
+++ b/extra/libbpf/10-consolidate-lib-dirs.patch
@@ -0,0 +1,19 @@
+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
+@@ -61,11 +61,7 @@ INSTALL = install
+
+ DESTDIR ?=
+
+-ifeq ($(filter-out %64 %64be %64eb %64le %64el s390x, $(shell uname -m)),)
+- LIBSUBDIR := lib64
+-else
+- LIBSUBDIR := lib
+-endif
++LIBSUBDIR := lib
+
+ # By default let the pc file itself use ${prefix} in includedir/libdir so that
+ # the prefix can be overridden at runtime (eg: --define-prefix)