From abef2cfedbe24aa12b0ca4086b15511faad5cb36 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Mon, 1 Nov 2021 23:16:10 +0000 Subject: [PATCH] fix --- xorg-x11-drv-nvidia.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 48afcd5..2c62651 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -253,7 +253,7 @@ cp -af \ ldconfig -vn %{buildroot}%{_libdir}/ # Libraries you can link against -for lib in libcuda libnvcuvid libnvidia-encode libnvidia-vulkan-producer; do +for lib in libcuda libnvcuvid libnvidia-encode; do ln -sf $lib.so.%{version} %{buildroot}%{_libdir}/$lib.so done @@ -275,10 +275,11 @@ rm -f %{buildroot}%{_libdir}/libnvvm.so.4 ln -sf libnvidia-nvvm.so.4.0.0 %{buildroot}%{_libdir}/libnvidia-nvvm.so.4 ln -sf libnvidia-nvvm.so.4 %{buildroot}%{_libdir}/libnvidia-nvvm.so -# Vulkan config +# Vulkan config and symlink install -m 0755 -d %{buildroot}%{_datadir}/vulkan/{icd.d,implicit_layer.d}/ install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/ install -p -m 0644 nvidia_layers.json %{buildroot}%{_datadir}/vulkan/implicit_layer.d/ +ln -sf libnvidia-vulkan-producer.so.%{version} %{buildroot}%{_libdir}/libnvidia-vulkan-producer.so # X DDX driver and GLX extension install -p -D -m 0755 libglxserver_nvidia.so.%{version} %{buildroot}%{_libdir}/xorg/modules/extensions/libglxserver_nvidia.so