package/links: add --with/--without-libjpeg
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 16:40:11 +0000 (17:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 13:53:28 +0000 (14:53 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/links/links.mk

index ec1771e3f4a6ddcd451356ef4016f3954b319595..97af418e7d6b7f49375b8f57997c08c7bea97887 100644 (file)
@@ -28,7 +28,10 @@ else
 LINKS_CONF_OPTS += --without-directfb
 endif
 ifeq ($(BR2_PACKAGE_JPEG),y)
+LINKS_CONF_OPTS += --with-libjpeg
 LINKS_DEPENDENCIES += jpeg
+else
+LINKS_CONF_OPTS += --without-libjpeg
 endif
 ifeq ($(BR2_PACKAGE_TIFF),y)
 LINKS_CONF_OPTS += --with-libtiff