summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-04-04 10:53:16 -0700
committerJuan A. Suarez Romero <[email protected]>2018-04-12 21:49:31 +0200
commitc9b6960f34bbfff21d9c66cc7278a99af8b4cb44 (patch)
treeeaa67fbcf5a4e4ea488cca3f06d5d0c14ff9bb27
parente49d7abf87e33520298d99e0fb117b715a1b721a (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]> (cherry picked from commit 19dbed6477525bff2918182b06bf01314f3cd5e9)
-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,
)