meson: modules/alsa: Make alsa-util a shared library
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Thu, 20 Sep 2018 08:26:40 +0000 (15:26 +0700)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 4 Oct 2018 03:14:18 +0000 (08:44 +0530)
This is to be consistent. In pa currently, as built by the autotools,
libalsa-util is a shared library. Moreover, all the libraries for the
modules, as defined in `src/meson.build`, are also shared libraries.

So let's stick to shared libraries everywhere for now, for simplicity.

We can rework that later on.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
src/modules/alsa/meson.build

index 6f91fb9..50ae915 100644 (file)
@@ -26,11 +26,11 @@ if udev_dep.found()
   libalsa_util_headers += [ '../udev-util.h' ]
 endif
 
-libalsa_util = static_library('libalsa_util',
+libalsa_util = shared_library('libalsa_util',
   libalsa_util_sources,
   libalsa_util_headers,
   c_args : [pa_c_args, server_c_args],
   include_directories : [configinc, topinc],
   dependencies : [libpulse_dep, libpulsecore_dep, alsa_dep, dbus_dep, udev_dep],
-  install : false
+  install : true
 )