# HG changeset patch # User Timo Sirainen # Date 1044997468 -7200 # Node ID d346da6de29d38af85e70236067a64dcf5f14c5c # Parent d8d8ec83c2f73ac7d74ba63f0afed29af032dc14 -fPIC too diff -r d8d8ec83c2f7 -r d346da6de29d INSTALL --- 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