Vulkan depends on the GBM lib to be present to function. Add it as a
dependency, so that compiling find the library.

Signed-off-by: Fabian Pflug <[email protected]>
---
 rules/weston.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/weston.in b/rules/weston.in
index 972db8f2b..200877b2d 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -18,8 +18,8 @@ menuconfig WESTON
        select UDEV
        select UDEV_LIBUDEV
        select SEATD
-       select MESALIB                  if WESTON_GL
-       select MESALIB_GBM              if WESTON_GL
+       select MESALIB                  if WESTON_GL || WESTON_VULKAN
+       select MESALIB_GBM              if WESTON_GL || WESTON_VULKAN
        select MESALIB_EGL              if WESTON_GL
        select MESALIB_EGL_WAYLAND      if WESTON_GL
        select MESALIB_GLES2            if WESTON_GL
-- 
2.47.3


Reply via email to