From: Bernd Kuhls Date: Sun, 19 Oct 2014 11:08:16 +0000 (+0200) Subject: package/libpciaccess: Add optional support for zlib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b337c11ad175e6956e9a804a965ec2fa42d5a0dc;p=buildroot.git package/libpciaccess: Add optional support for zlib Signed-off-by: Bernd Kuhls Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/libpciaccess/libpciaccess.mk b/package/libpciaccess/libpciaccess.mk index 010707ef24..f27925d6db 100644 --- a/package/libpciaccess/libpciaccess.mk +++ b/package/libpciaccess/libpciaccess.mk @@ -11,4 +11,11 @@ LIBPCIACCESS_LICENSE = MIT LIBPCIACCESS_LICENSE_FILES = COPYING LIBPCIACCESS_INSTALL_STAGING = YES +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBPCIACCESS_CONF_OPTS += --with-zlib +LIBPCIACCESS_DEPENDENCIES += zlib +else +LIBPCIACCESS_CONF_OPTS += --without-zlib +endif + $(eval $(autotools-package))