make spa-lib versioned

Fixes #60
This commit is contained in:
Wim Taymans 2018-08-13 16:14:14 +02:00
parent ef7903d328
commit 60d4473e7b
4 changed files with 7 additions and 5 deletions

View file

@ -8,7 +8,7 @@ install_headers(spalib_headers, subdir : 'spa/lib')
spalib_sources = ['debug.c',
'pod.c' ]
spalib = shared_library('spa-lib',
spalib = shared_library('spa-lib-@0@'.format(spaversion),
spalib_sources,
version : libversion,
soversion : soversion,

View file

@ -1,5 +1,6 @@
#project('spa', 'c')
alsa_dep = dependency('alsa')
v4l2_dep = dependency('libv4l2')
x11_dep = dependency('x11', required : false)