From 05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 19 Dec 2022 23:07:05 +0000 Subject: Making things work --- repo/libbpf/10-consolidate-lib-dirs.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 repo/libbpf/10-consolidate-lib-dirs.patch (limited to 'repo/libbpf/10-consolidate-lib-dirs.patch') diff --git a/repo/libbpf/10-consolidate-lib-dirs.patch b/repo/libbpf/10-consolidate-lib-dirs.patch new file mode 100644 index 0000000..8a270b7 --- /dev/null +++ b/repo/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) -- cgit v1.2.1