From b8314b1f435e9653c057f4aeb59d7dae13084008 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 3 Jan 2022 15:11:49 -0500 Subject: [PATCH] nvidia: fix linking libnvoptix.so and libnvoptix.so.1 --- srcpkgs/nvidia/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template index d64cc8019c..9d3c7e5aa5 100644 --- a/srcpkgs/nvidia/template +++ b/srcpkgs/nvidia/template @@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux" pkgname=nvidia version=470.94 -revision=1 +revision=2 maintainer="Andrew Benson " license="custom:NVIDIA Proprietary" homepage="https://www.nvidia.com" @@ -219,8 +219,8 @@ do_install() { # optix ray racing engine vinstall libnvoptix.so.${version} 755 usr/lib - ln -sf libnvoptix.so.${version} /usr/lib/libnvoptix.so - ln -sf libnvoptix.so.${version} /usr/lib/libnvoptix.so.1 + ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so + ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so.1 # dkms pkg vmkdir usr/src/nvidia-${version}