build-sys: don't hardcode client libraries as shared libs

This commit is contained in:
BtbN 2021-12-29 19:20:12 +01:00
parent ce649b0967
commit baf1315e09
2 changed files with 4 additions and 4 deletions

View file

@ -200,7 +200,7 @@ if not get_option('client')
libpulse_dep = dependency('libpulse', required : true)
libpulse_simple_dep = dependency('libpulse-simple', required : true)
else
libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
libpulsecommon = library('pulsecommon-' + pa_version_major_minor,
libpulsecommon_sources,
libpulsecommon_headers,
include_directories : [configinc, topinc],

View file

@ -76,7 +76,7 @@ run_target('update-map-file',
versioning_link_args = '-Wl,-version-script=' + join_paths(meson.source_root(), 'src', 'pulse', 'map-file')
libpulse = shared_library('pulse',
libpulse = library('pulse',
libpulse_sources,
libpulse_headers,
version : libpulse_version,
@ -95,7 +95,7 @@ install_headers(
subdir : 'pulse'
)
libpulse_simple = shared_library('pulse-simple',
libpulse_simple = library('pulse-simple',
'simple.c',
'simple.h',
version : libpulse_simple_version,
@ -110,7 +110,7 @@ libpulse_simple = shared_library('pulse-simple',
libpulse_simple_dep = declare_dependency(link_with: libpulse_simple)
if glib_dep.found()
libpulse_mainloop_glib = shared_library('pulse-mainloop-glib',
libpulse_mainloop_glib = library('pulse-mainloop-glib',
'glib-mainloop.c',
'glib-mainloop.h',
version : libpulse_mainloop_glib_version,