From b337c11ad175e6956e9a804a965ec2fa42d5a0dc Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 19 Oct 2014 13:08:16 +0200 Subject: [PATCH] package/libpciaccess: Add optional support for zlib Signed-off-by: Bernd Kuhls Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/libpciaccess/libpciaccess.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2