[Dovecot] Using -module flag on sieve libs
Dimitri
mitya at mageia.org
Sun Dec 23 03:36:48 EET 2012
Some modern distros (Mageia, Mandriva) use -no-undefined as a default
linker flag for building software. However, undefined symbols are OK if
the binary being linked is a plugin. To detect plugins, build system
looks for presence of "-module" libtool flag in makefiles.
There are two libraries in Pigeonhole that couldn't be linked with
-no-undefined:
src/lib-sieve/plugins/mailbox/libsieve_ext_mailbox.la
src/lib-sieve/libdovecot-sieve.la
These modules do contain undefined symbols, but they are not linked
against library that provides them. It would be good if corresponding
makefiles contained "-module" flags, so that build system could
selectively turn off that -no-undefined linker flag. Please see proposed
patch (attached).
Thanks,
Dimitri
Mageia Linux packager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-2.1-pigeonhole-0.3.3-module.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20121223/d3be686b/attachment-0002.bin>
More information about the dovecot
mailing list