qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 75/81] Add libs_tools support


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 75/81] Add libs_tools support
Date: Mon, 3 Aug 2009 14:47:06 +0200

Libraries used by qemu-<tools>

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

diff --git a/Makefile b/Makefile
index ed21e4c..d466c38 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ endif

 VPATH=$(SRC_PATH):$(SRC_PATH)/hw

-LIBS+=-lz
+LIBS+=-lz $(LIBS_TOOLS)

 ifdef BUILD_DOCS
 DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8
diff --git a/configure b/configure
index e77a7e9..1a91c86 100755
--- a/configure
+++ b/configure
@@ -46,6 +46,7 @@ objcopy="objcopy"
 ld="ld"
 helper_cflags=""
 libs_softmmu=""
+libs_tools=""
 audio_pt_int=""

 # parse CC options first
@@ -1783,6 +1784,7 @@ echo "LDFLAGS=$LDFLAGS" >> $config_host_mak
 echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
 echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
 echo "LIBS+=$LIBS" >> $config_host_mak
+echo "LIBS_TOOLS+=$libs_tools" >> $config_host_mak
 echo "EXESUF=$EXESUF" >> $config_host_mak

 echo "/* Automatically generated by configure - do not modify */" > 
$config_host_h
-- 
1.6.2.5





reply via email to

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