summaryrefslogtreecommitdiff
path: root/extra/libbpf/10-consolidate-lib-dirs.patch
blob: 8a270b70976056f9cc985192837bea54055e782f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)