From: Fabrice Fontaine Date: Fri, 29 Jun 2018 19:52:47 +0000 (+0200) Subject: libv4l: add optional sdl2_image dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1ef2944a356c648ee04309de1b21bdfe5f46b4e;p=buildroot.git libv4l: add optional sdl2_image dependency The configure.ac script simply uses PKG_CHECK_MODULES(), so there is not --enable/--disable option. Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 11061306c7..95a700b2d5 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -73,6 +73,10 @@ else LIBV4L_CONF_OPTS += --disable-v4l-utils endif +ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) +LIBV4L_DEPENDENCIES += sdl2_image +endif + LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" $(eval $(autotools-package))