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

Re: [libvirt] namespace clean shared libraries



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


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