mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
build: Fix API version usage
It was sometimes assumed to be 0.1, sometimes 1.0, and sometimes not to be used at all. This commit makes things consistent and so that it is possible to link externally.
This commit is contained in:
parent
3b33e3d362
commit
1d8504565a
3 changed files with 10 additions and 11 deletions
|
|
@ -11,7 +11,7 @@ pinos_module_flatpak = shared_library('pinos-module-flatpak', [ 'module-flatpak.
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [dbus_dep, mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ pinos_module_autolink = shared_library('pinos-module-autolink', [ 'module-autoli
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ pinos_module_mixer = shared_library('pinos-module-mixer', [ 'module-mixer.c' ],
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ pinos_module_protocol_dbus = shared_library('pinos-module-protocol-dbus', [ 'mod
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [glib_dep, gio_dep, mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ pinos_module_protocol_native = shared_library('pinos-module-protocol-native', [
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
||||
|
|
@ -56,6 +56,6 @@ pinos_module_suspend_on_idle = shared_library('pinos-module-suspend-on-idle', [
|
|||
include_directories : [configinc, spa_inc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/pinos-0.1'.format(get_option('libdir')),
|
||||
install_dir : '@0@/pinos-@1@'.format(get_option('libdir'), apiversion),
|
||||
dependencies : [mathlib, dl_lib, pinos_dep, pinoscore_dep],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue