mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-24 01:40:41 -05:00
build: Fix non-alsa builds
The code only checks whether HAVE_ALSA is defined, not its value, so defining it to 0 doesn't work as expected ...
This commit is contained in:
parent
01e1fde6e5
commit
3f71aac04b
@ -21,7 +21,7 @@ libpulse_glib = dependency('libpulse-mainloop-glib')
|
|||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package-name'))
|
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package-name'))
|
||||||
cdata.set_quoted('PACKAGE_VERSION', get_option('package-version'))
|
cdata.set_quoted('PACKAGE_VERSION', get_option('package-version'))
|
||||||
cdata.set10('HAVE_ALSA', alsa.found())
|
cdata.set('HAVE_ALSA', alsa.found())
|
||||||
|
|
||||||
config = configure_file(
|
config = configure_file(
|
||||||
input: 'config.h.meson',
|
input: 'config.h.meson',
|
||||||
|
Loading…
Reference in New Issue
Block a user