commit 5745622ff941f9037b8761019820bac124bf831d
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Mar 14 10:32:41 2017 +0000
Link libGLX_indirect.so.0 to libGLX_mesa.so.0
xorg-x11-drv-nvidia.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index cc960fe..d6e487f 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -232,7 +232,7 @@ install -p -m 0755 tls/lib*.so.%{version}
$RPM_BUILD_ROOT%{_nvidia_libdir}/
%endif
# GlVND
-ln -s libGLX_nvidia.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/libGLX_indirect.so.0
+ln -s %{_libdir}/libGLX_mesa.so.0 $RPM_BUILD_ROOT%{_nvidia_libdir}/libGLX_indirect.so.0
# Fix unowned lib links
ln -s libEGL_nvidia.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/libEGL_nvidia.so.0