qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 31/37] fold ALSA libs on generic LIBS


From: quintela
Subject: [Qemu-devel] [PATCH 31/37] fold ALSA libs on generic LIBS
Date: Fri, 17 Jul 2009 21:21:24 +0200

From: Juan Quintela <address@hidden>


Signed-off-by: Juan Quintela <address@hidden>
---
 Makefile.target |    3 ---
 configure       |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile.target b/Makefile.target
index 0b86979..ac4ccdb 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -401,9 +401,6 @@ obj-y += virtio-blk.o virtio-balloon.o virtio-net.o 
virtio-console.o
 obj-$(CONFIG_KVM) += kvm.o kvm-all.o

 LIBS+=-lz
-ifdef CONFIG_ALSA
-LIBS += -lasound
-endif
 ifdef CONFIG_ESD
 LIBS += -lesd
 endif
diff --git a/configure b/configure
index 4d50f19..0c55ffc 100755
--- a/configure
+++ b/configure
@@ -1624,6 +1624,8 @@ for drv in $audio_drv_list; do
         echo "FMOD_CFLAGS=$fmod_inc" >> $config_host_mak
     elif test "$drv" = "oss"; then
         LIBS="$LIBS $oss_lib"
+    elif test "$drv" = "alsa"; then
+        LIBS="$LIBS -lasound"
     fi
 done
 echo "" >>$config_host_h
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]