summaryrefslogtreecommitdiff
path: root/recipes/nvidia-drivers/nvidia-display_190.42.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nvidia-drivers/nvidia-display_190.42.bb')
-rw-r--r--recipes/nvidia-drivers/nvidia-display_190.42.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/nvidia-drivers/nvidia-display_190.42.bb b/recipes/nvidia-drivers/nvidia-display_190.42.bb
index b515528c39..474d91b7bd 100644
--- a/recipes/nvidia-drivers/nvidia-display_190.42.bb
+++ b/recipes/nvidia-drivers/nvidia-display_190.42.bb
@@ -4,6 +4,8 @@
require nvidia-drivers.inc
+PR = "r2"
+
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_ion = "1"
@@ -43,5 +45,9 @@ do_install() {
install -d ${D}/usr/lib/xorg/
cp ${WORKDIR}/${PKG_BASENAME}/usr/X11R6/lib/lib* ${D}/usr/lib/
cp -pPR ${WORKDIR}/${PKG_BASENAME}/usr/X11R6/lib/modules ${D}/usr/lib/xorg/
- ln -s libglx.so.1.0.8756 ${D}/usr/lib/xorg/modules/extensions/libglx.so
+ ln -s libglx.so.${PV} ${D}/usr/lib/xorg/modules/extensions/libglx.so
+ ln -s libGL.so.${PV} ${D}/usr/lib/libGL.so
+ ln -s libGL.so.${PV} ${D}/usr/lib/libGL.so.1
+ ln -s libGLcore.so.${PV} ${D}/usr/lib/libGLcore.so
+ ln -s libGLcore.so.${PV} ${D}/usr/lib/libGLcore.so.1
}