From 09eb0ca5d2d7306658ae2edefaba5c2032f829dd Mon Sep 17 00:00:00 2001 From: Haiqing Bai Date: Fri, 29 Jun 2018 10:48:13 +0800 Subject: apache2: Add PACKAGECONFIG zlib option for mod_deflate The configure options '--enable-deflate' or '--with-z' make the package depends on zlib. PACKAGECONFIG should be defined to clear the dependency. Signed-off-by: Haiqing Bai Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-webserver/recipes-httpd/apache2') diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb index c422092f83..b08e0377fe 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb @@ -64,6 +64,7 @@ EXTRA_OECONF = "--enable-ssl \ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" PACKAGECONFIG[selinux] = "--enable-selinux --enable-layout=Debian --prefix=${base_prefix}/,--disable-selinux,libselinux,libselinux" PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" +PACKAGECONFIG[zlib] = "--enable-deflate --with-z=${STAGING_LIBDIR},,zlib,zlib" do_configure_prepend() { sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libdir}/cgi-bin:g' ${S}/config.layout -- cgit v1.2.3-54-g00ecf