bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] namespace clean shared libraries


From: Bruno Haible
Subject: Re: [libvirt] namespace clean shared libraries
Date: Thu, 02 Aug 2012 15:09:10 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Daniel P. Berrange wrote:
> Try applying this patch to your source tree
> 
> diff --git a/configure.ac b/configure.ac
> index 6b189db..4f906bb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2876,6 +2876,10 @@ test "x$lv_cv_static_analysis" = xyes && t=1
>  AC_DEFINE_UNQUOTED([STATIC_ANALYSIS], [$t],
>    [Define to 1 when performing static analysis.])
>  
> +AC_DEFINE_UNQUOTED([isbase64],[gnulib_isbase64],[Hack to avoid symbol clash])
> +AC_DEFINE_UNQUOTED([base64_encode],[gnulib_base64_encode],[Hack to avoid 
> symbol clash])
> +AC_DEFINE_UNQUOTED([base64_encode_alloc],[gnulib_base64_encode_alloc],[Hack 
> to avoid symbol clash])
> +

Could you please use a prefix that is specific to libvirt, rather than
'gnulib_'? I mean, if two different libraries libvirt and libfoo use the
same prefix 'gnulib_', the symbols will *still* clash.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]