mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
postfix: Disable nis support on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -60,6 +60,9 @@ export AUXLIBS-ldap = "\
|
||||
export CCARGS-ldap_class-native = ""
|
||||
export AUXLIBS-ldap_class-native = ""
|
||||
|
||||
export CCARGS-nonis_libc-musl = "-DNO_NIS"
|
||||
export CCARGS-nonis = ""
|
||||
|
||||
# SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH
|
||||
# current openldap didn't enable SASL
|
||||
export CCARGS-sasl = "\
|
||||
@@ -70,10 +73,11 @@ export CCARGS-sasl_class-native = ""
|
||||
export AUXLIBS-sasl_class-native = ""
|
||||
|
||||
# PCRE, TLS support default
|
||||
export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}"
|
||||
export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
|
||||
export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
|
||||
export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf"
|
||||
|
||||
export CCARGS-nonis_libc-musl = "-DNO_NIS"
|
||||
# OPT,DEBUG is aready in CFLAGS
|
||||
# ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS
|
||||
EXTRA_OEMAKE += "OPT= DEBUG= OPTS= "
|
||||
|
||||
Reference in New Issue
Block a user