aboutsummaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc')
-rw-r--r--meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc
new file mode 100644
index 00000000..5b7536df
--- /dev/null
+++ b/meta-uhmi/meta-rvgpu/recipes-graphics/wayland/weston_rvgpuproxy.inc
@@ -0,0 +1,7 @@
+# Remove the RPATH variable, to be able to use LD_LIBRARY_PATH,
+# to run render apps using /usr/lib/mesa-virtio
+do_install:append() {
+ chrpath --delete ${D}${libdir}/libweston-10/*.so
+ chrpath --delete ${D}${libdir}/weston/*.so
+ chrpath --delete ${D}${libdir}/*.so
+}