diff options
| -rw-r--r-- | recipes-graphics/wayland/wayland_%.bbappend | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-graphics/wayland/wayland_%.bbappend b/recipes-graphics/wayland/wayland_%.bbappend index ee2676a..e5bbf4a 100644 --- a/recipes-graphics/wayland/wayland_%.bbappend +++ b/recipes-graphics/wayland/wayland_%.bbappend | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | # remove provided `libwayland-egl` library in favour of the version in `userland` until fully tested | 1 | # until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics |
| 2 | |||
| 3 | do_install_append_rpi () { | 2 | do_install_append_rpi () { |
| 4 | rm -f ${D}${libdir}/libwayland-egl* | 3 | if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then |
| 5 | rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc | 4 | rm -f ${D}${libdir}/libwayland-egl* |
| 5 | rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
| 6 | fi | ||
| 6 | } | 7 | } |
