summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/mesa/qemugl_git.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index 3c04fe7c83..576ca62f67 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -21,6 +21,13 @@ do_install () {
install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2
}
+do_stage () {
+ install -d ${STAGING_LIBDIR}/
+ install -m 0755 ${S}/libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1.2
+ ln -s libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1
+ ln -s libGL.so.1 ${STAGING_LIBDIR}/libGL.so
+}
+
pkg_postinst_${PN} () {
rm -f $D${libdir}/libGL.so.1.2
ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2