mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
postfix: switch to libpcre2
Postfix 3.7 and later supports pcre2 library [1] [1] https://www.postfix.org/PCRE_README.html Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e3257c3360
commit
9ec1605567
|
|
@ -6,7 +6,7 @@ has a definite Sendmail-ish flavor, but the inside is completely different."
|
|||
|
||||
HOMEPAGE = "http://www.postfix.org"
|
||||
SECTION = "mail"
|
||||
DEPENDS = "db icu libpcre libnsl2 m4-native openssl postfix-native \
|
||||
DEPENDS = "db icu libpcre2 libnsl2 m4-native openssl postfix-native \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \
|
||||
"
|
||||
|
|
@ -80,8 +80,8 @@ export CCARGS-sasl:class-native = ""
|
|||
export AUXLIBS-sasl:class-native = ""
|
||||
|
||||
# PCRE, TLS support default
|
||||
export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
|
||||
export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
|
||||
export CCARGS = "${CFLAGS} -DHAS_PCRE=2 -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
|
||||
export AUXLIBS = "-lpcre2-8 -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
|
||||
export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf"
|
||||
|
||||
# OPT,DEBUG is aready in CFLAGS
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user