Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1158:d346da6de29d HEAD
-fPIC too
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 11 Feb 2003 23:04:28 +0200 |
parents | d8d8ec83c2f7 |
children | 8a93dff28e13 |
files | INSTALL |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL Tue Feb 11 22:38:34 2003 +0200 +++ b/INSTALL Tue Feb 11 23:04:28 2003 +0200 @@ -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