taglib: depend on zlib if appropriate
authorBernd Kuhls <berndkuhls@hotmail.com>
Mon, 30 Dec 2013 18:02:49 +0000 (19:02 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 31 Dec 2013 08:10:33 +0000 (09:10 +0100)
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/taglib/taglib.mk

index 75e8e679f0ad5ce809ceaee388f84524241724fe..c04c88b297afec2808d53e9ca20ce3f978534b55 100644 (file)
@@ -10,6 +10,10 @@ TAGLIB_INSTALL_STAGING = YES
 TAGLIB_LICENSE = LGPLv2.1 MPL
 TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+TAGLIB_DEPENDENCIES += zlib
+endif
+
 ifeq ($(BR2_PACKAGE_TAGLIB_ASF),y)
 TAGLIB_CONF_OPT += -DWITH_ASF=ON
 endif