nvidia: fix linking libnvoptix.so and libnvoptix.so.1

This commit is contained in:
classabbyamp 2022-01-03 15:11:49 -05:00 committed by Andrew Benson
parent 2cc7f027ea
commit b8314b1f43

View file

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
pkgname=nvidia
version=470.94
revision=1
revision=2
maintainer="Andrew Benson <abenson+void@gmail.com>"
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}