From 19dbed6477525bff2918182b06bf01314f3cd5e9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 4 Apr 2018 10:53:16 -0700 Subject: [PATCH] meson: Set .so version for xa like autotools does Fixes: 0ba909f0f111824223bc38563d1a6bc73e69c2cc ("meson: build gallium xa state tracker") Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom Reviewed-by: Emil Velikov --- 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.30.2