On Wed, Feb 02, 2011 at 03:34:15PM +0100, Fabian Groffen wrote: > Biggest issue is the -Wl,--version-script used in the makefiles. > Mike gave me a hint here [1], but the solution hasn't been clear to > me as of yet. This is not so dirty solution. See (for example) libvirt project, there is $VERSION_SCRIPT_FLAGS and $SYMBOL_FILE defined in the configure script. It does not use libtool to care about symbols. I think we can use something similar. - define proper VERSION_SCRIPT_FLAGS in ./configure - define SYMBOL_FILE_EXT in ./configure (".sym" or ".def") - add to config/include-Makefile.am a rule to generate .def from .sym (by sed). - use SYMBOL_FILE_EXT and VERSION_SCRIPT_FLAGS in shlibs/ Makefiles _LDFLAGS Note that symbols versioning is probably supported by ELF only. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html