summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-01-16 12:57:25 +0100
committerWim Taymans <wtaymans@redhat.com>2020-01-16 12:57:25 +0100
commitded3a2a58f013b4e7dfb1f4a7c1407ea86a91dea (patch)
tree86fe80c3eeb50870099e6ba951caee14b045ee62
parentffc50a1bbf040f707a308c60227087ed7725af50 (diff)
append -pw and version to .so libraries
So that we can place them next to the real ones and use a symlink to switch.
-rw-r--r--pipewire-jack/src/meson.build4
-rw-r--r--pipewire-pulseaudio/src/meson.build8
2 files changed, 6 insertions, 6 deletions
diff --git a/pipewire-jack/src/meson.build b/pipewire-jack/src/meson.build
index afcc8829..3a517820 100644
--- a/pipewire-jack/src/meson.build
+++ b/pipewire-jack/src/meson.build
@@ -13,9 +13,9 @@ pipewire_jack_c_args = [
#optional dependencies
jack_dep = dependency('jack', version : '>= 1.9.10', required : false)
-pipewire_jack = shared_library('jack',
+pipewire_jack = shared_library('jack-pw',
pipewire_jack_sources,
- soversion : 0,
+ soversion : pipewire_version,
c_args : pipewire_jack_c_args,
include_directories : [configinc],
dependencies : [pipewire_dep, jack_dep, mathlib],
diff --git a/pipewire-pulseaudio/src/meson.build b/pipewire-pulseaudio/src/meson.build
index fb7f5a49..6a9a4a75 100644
--- a/pipewire-pulseaudio/src/meson.build
+++ b/pipewire-pulseaudio/src/meson.build
@@ -44,9 +44,9 @@ pipewire_pulseaudio_c_args = [
mapfile = 'map-file'
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
-pipewire_pulseaudio = shared_library('pulse',
+pipewire_pulseaudio = shared_library('pulse-pw',
pipewire_pulseaudio_sources,
- soversion : '0',
+ soversion : pipewire_version,
c_args : pipewire_pulseaudio_c_args,
link_args : vflag,
include_directories : [configinc],
@@ -54,9 +54,9 @@ pipewire_pulseaudio = shared_library('pulse',
install : true,
)
-pipewire_pulseaudio = shared_library('pulse-mainloop-glib',
+pipewire_pulseaudio = shared_library('pulse-mainloop-glib-pw',
pipewire_mainloop_glib_sources,
- soversion : '0',
+ soversion : pipewire_version,
c_args : pipewire_pulseaudio_c_args,
link_args : vflag,
include_directories : [configinc],