"Bruno Haible" <br...@clisp.org> writes: > Hi Simon, > >> In this case, GnuTLS uses the read-file module from gnulib, and it ends >> up being exported in a static GnuTLS library. GNU Wget also has a >> function called read_file, and things break when linking. >> ... >> I have some vague memory that this has been discussed before (I may even >> have brought it up) > > Yes, we discussed this topic in the thread started in > <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00232.html>. > > I had been pointing you to gettext/gettext-tools/libgettextpo/Makefile.am; > nowadays the same technique is also used in libunistring/lib/Makefile.am. > In particular, look at this commit: > http://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=d598f9e1e016735397e9dca53b436d13c6fb28f3
Thanks for the pointer, I'll take a look! /Simon