aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-02-20 17:40:11 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-21 14:53:28 +0100
commit024e4e76cd7866630e844e8472642fce8dddd8f8 (patch)
treed1b00069b3b40696752ee951f6434a1ca912de76
parent96d2bdfe7db8935f27c402004bc3aa2626b0af44 (diff)
downloadbuildroot-024e4e76cd7866630e844e8472642fce8dddd8f8.tar.gz
buildroot-024e4e76cd7866630e844e8472642fce8dddd8f8.tar.bz2
package/links: add --with/--without-libjpeg
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>
-rw-r--r--package/links/links.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/links/links.mk b/package/links/links.mk
index ec1771e3f4..97af418e7d 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -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