libalsa_util_headers += [ '../reserve.h', '../reserve-monitor.h' ]
endif
+if udev_dep.found()
+ libalsa_util_sources += [ '../udev-util.c' ]
+ libalsa_util_headers += [ '../udev-util.h' ]
+endif
+
libalsa_util = static_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],
+ dependencies : [libpulse_dep, libpulsecore_dep, alsa_dep, dbus_dep, udev_dep],
install : false
)