summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-06-07 07:38:17 +0200
committerJeroen Roovers <jer@gentoo.org>2018-06-07 07:38:17 +0200
commit861e622302214a5633f3a52496fda931beb022d1 (patch)
tree3516e0d5475faa60b2416211f75a667dbaf554d6 /x11-drivers/nvidia-drivers
parentdev-python/pbr: 4.0.4 bup (diff)
downloadgentoo-861e622302214a5633f3a52496fda931beb022d1.tar.gz
gentoo-861e622302214a5633f3a52496fda931beb022d1.tar.bz2
gentoo-861e622302214a5633f3a52496fda931beb022d1.zip
x11-drivers/nvidia-drivers: Fix installing 32-bit libraries (bug #657416).
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-396.24.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-396.24.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-396.24.ebuild
index 1b079e349cac..5a9a0a18482f 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-396.24.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-396.24.ebuild
@@ -450,6 +450,10 @@ src_install-libs() {
local CL_ROOT="/usr/$(get_libdir)/OpenCL/vendors/nvidia"
local nv_libdir="${NV_OBJ}"
+ if use kernel_linux && has_multilib_profile && [[ ${ABI} == "x86" ]]; then
+ nv_libdir="${NV_OBJ}"/32
+ fi
+
if use X; then
NV_GLX_LIBRARIES=(
"libEGL.so.$(usex compat ${NV_SOVER} 1.1.0) ${GL_ROOT}"