diff options
author | Eric Engestrom <[email protected]> | 2018-12-11 16:51:25 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-01-25 12:10:00 +0000 |
commit | 69e944036720d826d0548a019f8fe18b9ed57e6e (patch) | |
tree | 6e94f5a105c5bb8f95e35f7b4cdd60918edc684f /src/gallium/targets | |
parent | 9af77fcf98bd8084ff117ebbd9abfc1b695397d2 (diff) |
meson/vdpau: add missing soversion
This mirrors what autotools does in src/gallium/state_trackers/vdpau/Makefile.am
and src/gallium/targets/vdpau/Makefile.am:
VDPAU_MAJOR = 1
VDPAU_MINOR = 0
libvdpau_gallium_la_LDFLAGS = -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR)
Reported-by: Igor Gnatenko <[email protected]>
Fixes: 68076b87474e7959c161 "meson: build gallium vdpau state tracker"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/vdpau/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/vdpau/meson.build b/src/gallium/targets/vdpau/meson.build index 005cf642498..22e3f5ffdd8 100644 --- a/src/gallium/targets/vdpau/meson.build +++ b/src/gallium/targets/vdpau/meson.build @@ -54,13 +54,14 @@ libvdpau_gallium = shared_library( dep_thread, driver_r300, driver_r600, driver_radeonsi, driver_nouveau, ], link_depends : vdpau_link_depends, + soversion : '@0@.@[email protected]'.format(VDPAU_MAJOR, VDPAU_MINOR), ) foreach d : [[with_gallium_r300, 'r300'], [with_gallium_r600, 'r600'], [with_gallium_radeonsi, 'radeonsi'], [with_gallium_nouveau, 'nouveau']] if d[0] - vdpau_drivers += 'libvdpau_@[email protected]'.format(d[1]) + vdpau_drivers += 'libvdpau_@[email protected].@1@.@[email protected]'.format(d[1], VDPAU_MAJOR, VDPAU_MINOR) endif endforeach |