[dovecot-cvs] dovecot INSTALL,1.5,1.6
cras at procontrol.fi
cras at procontrol.fi
Tue Feb 11 23:04:31 EET 2003
Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv9913
Modified Files:
INSTALL
Log Message:
-fPIC too
Index: INSTALL
===================================================================
RCS file: /home/cvs/dovecot/INSTALL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- INSTALL 11 Feb 2003 20:38:34 -0000 1.5
+++ INSTALL 11 Feb 2003 21:04:28 -0000 1.6
@@ -102,11 +102,11 @@
vpopmail). There's no standard way to build them as modules currently, but
something like this should work:
-gcc -shared -DUSERDB_LDAP -DPASSDB_LDAP -I../.. -I../lib -I../lib-settings \
+gcc -shared -fPIC -DUSERDB_LDAP -DPASSDB_LDAP -I../.. -I../lib -I../lib-settings \
db-ldap.c userdb-ldap.c passdb-ldap.c -o ldap.so \
../lib-settings/libsettings.a -lldap
-gcc -shared -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL -I../.. -I../lib \
+gcc -shared -fPIC -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL -I../.. -I../lib \
userdb-vpopmail.c passdb-ldap.c -o vpopmail.so -lvpopmail
Including libsettings.a in ldap.so is kind of annoying, but it's not
More information about the dovecot-cvs
mailing list