]> git.draconx.ca Git - dxcommon.git/commitdiff
Rewrite Gnulib symbols to be in libcdecl's namespace.
authorNick Bowler <nbowler@draconx.ca>
Wed, 21 Sep 2011 04:51:17 +0000 (00:51 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Sep 2011 01:02:07 +0000 (21:02 -0400)
The gnulib symbols are not properly prefixed for libcdecl internal
symbols (e.g. cdecl__blah).  This *will* cause problems when statically
linking against both libcdecl and another library that uses the same
gnulib modules.

Unfortunately, there's no simple way to determine what symbols need
prefixing without compiling all the gnulib objects.  The results can't
be distributed either, because they depend on the configuration.  So,
limited to simple tools and portable make rules, we hack together a
"new" config.h at build time that defines object-like macros to rewrite
the symbols, carefully ensuring that header dependencies are correct.


No differences found