diff options
author | Haiqing Bai <Haiqing.Bai@windriver.com> | 2018-06-29 10:48:13 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-06-29 07:00:52 -0700 |
commit | 09eb0ca5d2d7306658ae2edefaba5c2032f829dd (patch) | |
tree | cfbf9e325bd1b6ede6c86613f951bfab9c905b76 | |
parent | 3c49eca209f90c57702aa4e9971733beb461f970 (diff) | |
download | meta-openembedded-09eb0ca5d2d7306658ae2edefaba5c2032f829dd.tar.gz |
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 <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ | |||
64 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" | 64 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
65 | PACKAGECONFIG[selinux] = "--enable-selinux --enable-layout=Debian --prefix=${base_prefix}/,--disable-selinux,libselinux,libselinux" | 65 | PACKAGECONFIG[selinux] = "--enable-selinux --enable-layout=Debian --prefix=${base_prefix}/,--disable-selinux,libselinux,libselinux" |
66 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" | 66 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" |
67 | PACKAGECONFIG[zlib] = "--enable-deflate --with-z=${STAGING_LIBDIR},,zlib,zlib" | ||
67 | 68 | ||
68 | do_configure_prepend() { | 69 | do_configure_prepend() { |
69 | sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libdir}/cgi-bin:g' ${S}/config.layout | 70 | sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libdir}/cgi-bin:g' ${S}/config.layout |