summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2022-09-18 21:23:39 +0200
committerSam James <sam@gentoo.org>2022-09-25 02:27:17 +0100
commitf81ca21225fae03df46db1e789aaf587abb7a51b (patch)
tree7b6f4916ec2f31c308e949502a56abd49441ad94 /dev-libs/libbpf
parentmedia-gfx/openvdb: fix build with cuda (diff)
downloadgentoo-f81ca21225fae03df46db1e789aaf587abb7a51b.tar.gz
gentoo-f81ca21225fae03df46db1e789aaf587abb7a51b.tar.bz2
gentoo-f81ca21225fae03df46db1e789aaf587abb7a51b.zip
dev-libs/libbpf: fix libdir
libbpf always installs to /usr/lib64 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/27332 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf')
-rw-r--r--dev-libs/libbpf/libbpf-1.0.0-r1.ebuild (renamed from dev-libs/libbpf/libbpf-1.0.0.ebuild)1
-rw-r--r--dev-libs/libbpf/libbpf-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev-libs/libbpf/libbpf-1.0.0.ebuild b/dev-libs/libbpf/libbpf-1.0.0-r1.ebuild
index b2c18cdba4be..d106d0c7a863 100644
--- a/dev-libs/libbpf/libbpf-1.0.0.ebuild
+++ b/dev-libs/libbpf/libbpf-1.0.0-r1.ebuild
@@ -34,6 +34,7 @@ src_configure() {
append-cflags -fPIC
tc-export CC AR
export LIBSUBDIR="$(get_libdir)"
+ export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
export V=1
}
diff --git a/dev-libs/libbpf/libbpf-9999.ebuild b/dev-libs/libbpf/libbpf-9999.ebuild
index b2c18cdba4be..d106d0c7a863 100644
--- a/dev-libs/libbpf/libbpf-9999.ebuild
+++ b/dev-libs/libbpf/libbpf-9999.ebuild
@@ -34,6 +34,7 @@ src_configure() {
append-cflags -fPIC
tc-export CC AR
export LIBSUBDIR="$(get_libdir)"
+ export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
export V=1
}