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,