make makefiles AUXLIBS='-L/usr/lib/mysql -lmysqlclient -lz -lm -lssl -lcrypto -L/usr/lib/sasl2 -L/usr/local/lib -lpcre' CCARGS='-DHAS_MYSQL -DUSE_TLS -DUSE_SASL_AUTH -I/usr/include/mysql -DDEF_SERVER_SASL_TYPE=\"dovecot\" -I/usr/include/sasl -DHAS_PCRE -I/usr/local/include'
Paskutine eilute
make makefiles AUXLIBS='-L/usr/lib/mysql -lmysqlclient -lz -lm -L/root/openssl-1.0.1h -lssl -L/root/openssl-1.0.1h -lcrypto -L/usr/lib/sasl2 -L/usr/local/lib -lpcre' CCARGS='-DHAS_MYSQL -DUSE_TLS -I/root/openssl-1.0.1h/include -DUSE_SASL_AUTH -I/usr/include/mysql -DDEF_SERVER_SASL_TYPE=\"dovecot\" -I/usr/include/sasl -DHAS_PCRE -I/usr/local/include'
Compilinant glibc:
#define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | RES_DNSRCH | RES_NO_NIBBLE2 | RES_USE_DNSSEC)
-L/root/glibc-build-2.11/resolv -lresolv