audio: link with -lpulse in addition to -lpulse-simple
Link with -lpulse in addition to -lpulse-simple, needed when --no-add-needed
is passed to the linker (gold default).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
diff --git a/configure b/configure
index 278966d..e108dfb 100755
--- a/configure
+++ b/configure
@@ -1165,9 +1165,9 @@
;;
pa)
- audio_drv_probe $drv pulse/simple.h -lpulse-simple \
+ audio_drv_probe $drv pulse/simple.h "-lpulse-simple -lpulse" \
"pa_simple *s = NULL; pa_simple_free(s); return 0;"
- libs_softmmu="-lpulse-simple $libs_softmmu"
+ libs_softmmu="-lpulse -lpulse-simple $libs_softmmu"
audio_pt_int="yes"
;;