Make sure the library is present when webp support is enabled.

Signed-off-by: Lucas Stach <l.st...@pengutronix.de>
---
 rules/sdl2-image.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/sdl2-image.in b/rules/sdl2-image.in
index 44bac25ccc80..db234b153174 100644
--- a/rules/sdl2-image.in
+++ b/rules/sdl2-image.in
@@ -6,6 +6,7 @@ menuconfig SDL2_IMAGE
        prompt "SDL2 image                    "
        select LIBPNG   if SDL2_IMAGE_PNG
        select LIBJPEG  if SDL2_IMAGE_JPG
+       select LIBWEBP  if SDL2_IMAGE_WEBP
        help
          This is a simple library to load images of various
          formats as SDL surfaces. This library currently supports
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to