aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-09 18:10:46 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-10 08:36:09 +0200
commitb2ec261b3a9a123e6f384ab30f89689f2cf90003 (patch)
tree57fd375d0b1b20adcd3574b7cdf8f3e7a5982a87
parentca3465f6673201a28af076755cc01c57bf1090de (diff)
downloadbuildroot-b2ec261b3a9a123e6f384ab30f89689f2cf90003.tar.gz
buildroot-b2ec261b3a9a123e6f384ab30f89689f2cf90003.tar.bz2
libgeotiff: explicit optional dependencies on zlib and jpeg
In order to provide consistent behavior, this commit explicits the optional dependencies of libgeotiff on zlib and jpeg. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libgeotiff/libgeotiff.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libgeotiff/libgeotiff.mk b/package/libgeotiff/libgeotiff.mk
index 722e71c6fc..61f5c219c4 100644
--- a/package/libgeotiff/libgeotiff.mk
+++ b/package/libgeotiff/libgeotiff.mk
@@ -10,4 +10,18 @@ LIBGEOTIFF_DEPENDENCIES = tiff host-pkgconf
LIBGEOTIFF_INSTALL_STAGING = YES
LIBGEOTIFF_AUTORECONF = YES
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+LIBGEOTIFF_DEPENDENCIES += zlib
+LIBGEOTIFF_CONF_OPTS += --with-zlib
+else
+LIBGEOTIFF_CONF_OPTS += --without-zlib
+endif
+
+ifeq ($(BR2_PACKAGE_JPEG),y)
+LIBGEOTIFF_DEPENDENCIES += jpeg
+LIBGEOTIFF_CONF_OPTS += --with-jpeg
+else
+LIBGEOTIFF_CONF_OPTS += --without-jpeg
+endif
+
$(eval $(autotools-package))