From: Aurelien Jarno Date: Mon, 16 Nov 2009 16:52:03 +0000 (+0100) Subject: audio: link with -lpulse in addition to -lpulse-simple X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=493abda627c95d2a2f3bb3757eff527d226d2b38;p=qemu.git 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 --- diff --git a/configure b/configure index 278966d6b6..e108dfb18c 100755 --- a/configure +++ b/configure @@ -1165,9 +1165,9 @@ for drv in $audio_drv_list; do ;; 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" ;;