summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xa/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-04-04 10:53:16 -0700
committerDylan Baker <[email protected]>2018-04-05 10:46:14 -0700
commit19dbed6477525bff2918182b06bf01314f3cd5e9 (patch)
tree2147af4dfc8bafd4f995e9e9e0db36039539dfff /src/gallium/targets/xa/meson.build
parent7728720f07a1f0931d7d394d5842de3803e9192b (diff)
meson: Set .so version for xa like autotools does
Fixes: 0ba909f0f111824223bc38563d1a6bc73e69c2cc ("meson: build gallium xa state tracker") Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/xa/meson.build')
-rw-r--r--src/gallium/targets/xa/meson.build4
1 files changed, 3 insertions, 1 deletions
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,
)