diff options
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/postfix.inc')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 4c794ffd68..0ec182a053 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc | |||
@@ -60,6 +60,9 @@ export AUXLIBS-ldap = "\ | |||
60 | export CCARGS-ldap_class-native = "" | 60 | export CCARGS-ldap_class-native = "" |
61 | export AUXLIBS-ldap_class-native = "" | 61 | export AUXLIBS-ldap_class-native = "" |
62 | 62 | ||
63 | export CCARGS-nonis_libc-musl = "-DNO_NIS" | ||
64 | export CCARGS-nonis = "" | ||
65 | |||
63 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH | 66 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH |
64 | # current openldap didn't enable SASL | 67 | # current openldap didn't enable SASL |
65 | export CCARGS-sasl = "\ | 68 | export CCARGS-sasl = "\ |
@@ -70,10 +73,11 @@ export CCARGS-sasl_class-native = "" | |||
70 | export AUXLIBS-sasl_class-native = "" | 73 | export AUXLIBS-sasl_class-native = "" |
71 | 74 | ||
72 | # PCRE, TLS support default | 75 | # PCRE, TLS support default |
73 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}" | 76 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" |
74 | export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" | 77 | export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" |
75 | export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" | 78 | export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" |
76 | 79 | ||
80 | export CCARGS-nonis_libc-musl = "-DNO_NIS" | ||
77 | # OPT,DEBUG is aready in CFLAGS | 81 | # OPT,DEBUG is aready in CFLAGS |
78 | # ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS | 82 | # ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS |
79 | EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " | 83 | EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " |