]> xenbits.xensource.com Git - libvirt.git/commit
Avoid clash of base64 symbols
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 2 Aug 2012 13:21:00 +0000 (14:21 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 2 Aug 2012 13:22:47 +0000 (14:22 +0100)
commit7a054e99e22ffbca74b89f48ecbc296a940f56c3
tree1b2eebdcfa528a1acef57b954bab23331207891e
parent1d170d3f9afce53b748acdbc0612758bba39aa35
Avoid clash of base64 symbols

On Debian/Ubuntu, one of the libraries libvirt (indirectly) links
with exports a symbol named 'base64_encode'. This takes precedence
over GNULIB's base64_encode function during linking. Unfortunately
they of course have different API semantics. To avoid this problem
use a few #defines in config.h to rename the GNULIB provided
function to have a 'libvirt_gl_' prefix
configure.ac