# HG changeset patch # User Timo Sirainen # Date 1138312979 -7200 # Node ID a5c559c847cca55eee4decbe3cffcd661d093a52 # Parent e7aff159a0d3d30abfb9b5cfe60dadfd62ee257d Add directories where they need to be compiled. diff -r e7aff159a0d3 -r a5c559c847cc INSTALL --- a/INSTALL Fri Jan 27 00:02:10 2006 +0200 +++ b/INSTALL Fri Jan 27 00:02:59 2006 +0200 @@ -115,6 +115,8 @@ vpopmail). There's no standard way to build them as modules currently, but something like this should work: +cd src/auth + gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_LDAP -DPASSDB_LDAP \ -I../.. -I../lib -I../lib-settings \ db-ldap.c userdb-ldap.c passdb-ldap.c -o ldap.so -lldap @@ -139,6 +141,8 @@ Currently SQL drivers are only used by dovecot-auth, so you could place them into same directory with auth plugins. +cd src/lib-sql + gcc -shared -fPIC -DHAVE_CONFIG_H -DBUILD_PGSQL \ -I../.. -I../lib -I../lib-settings -I/usr/include/postgresql \ driver-pgsql.c -o driver_pgsql.so -L/usr/lib/postgresql -lpq