[Mesa-dev] [PATCH] meson: Set .so version for xa like autotools does

Eric Engestrom eric.engestrom at imgtec.com
Thu Apr 5 12:52:41 UTC 2018


On Wednesday, 2018-04-04 10:58:29 -0700, Dylan Baker wrote:
> Fixes: 0ba909f0f111824223bc38563d1a6bc73e69c2cc
>        ("meson: build gallium xa state tracker")
> Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

> ---
>  src/gallium/targets/xa/meson.build | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/targets/xa/meson.build b/src/gallium/targets/xa/meson.build
> index ea6e1296dae..733ef54ff85 100644
> --- a/src/gallium/targets/xa/meson.build
> +++ b/src/gallium/targets/xa/meson.build
> @@ -30,6 +30,7 @@ if with_ld_version_script
>    xa_link_depends += files('xa.sym')
>  endif
>  
> +_xa_version = '.'.join(xa_version)
>  
>  libxatracker = shared_library(
>    'xatracker',
> @@ -49,12 +50,13 @@ libxatracker = shared_library(
>    dependencies : [
>      dep_thread, driver_nouveau, driver_i915, driver_svga, driver_freedreno,
>    ],
> +  version : _xa_version,
>    install : true,
>  )
>  
>  pkg.generate(
>    name : 'xatracker',
>    description : 'Xorg gallium3D acceleration library',
> -  version : '.'.join(xa_version),
> +  version : _xa_version,
>    libraries : libxatracker,
>  )
> -- 
> 2.16.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list