- multigl: create extensions/libglx.so symlink if missing on %post
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index 457af947fb63670bb5e764c19a7b62e01b166f48..cb91d49652e1e40803fe53d620859ff3a950ff13 100644 (file)
@@ -272,6 +272,11 @@ NOTE: You must install:
 kernel-video-nvidia-%{version}
 for this driver to work
 EOF
+%if %{with multigl}
+if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
+       ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
+fi
+%endif
 
 %postun        -p /sbin/ldconfig
 
This page took 0.082274 seconds and 4 git commands to generate.