mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
build-sys: build gtk-test only when glib is enabled
gtk-test pulls in libpulse-mainloop-glib as a dependency, and compiling glib-mainloop.c fails if glib support is disabled.
This commit is contained in:
parent
36de6cb94d
commit
36d9ae9b2b
1 changed files with 2 additions and 1 deletions
|
|
@ -314,12 +314,13 @@ endif
|
||||||
if HAVE_GLIB20
|
if HAVE_GLIB20
|
||||||
TESTS_default += \
|
TESTS_default += \
|
||||||
mainloop-test-glib
|
mainloop-test-glib
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_GTK30
|
if HAVE_GTK30
|
||||||
|
# gtk-test depends on both glib and gtk
|
||||||
TESTS_norun += \
|
TESTS_norun += \
|
||||||
gtk-test
|
gtk-test
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if HAVE_ALSA
|
if HAVE_ALSA
|
||||||
TESTS_norun += \
|
TESTS_norun += \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue