[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 10/20] -lz is needed for all binaries, move it to LI
From: |
quintela |
Subject: |
[Qemu-devel] [PATCH 10/20] -lz is needed for all binaries, move it to LIBS |
Date: |
Tue, 21 Jul 2009 00:13:20 +0200 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile | 2 --
Makefile.target | 2 --
configure | 2 +-
3 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 098f972..a94ea4c 100644
--- a/Makefile
+++ b/Makefile
@@ -165,8 +165,6 @@ qemu-nbd$(EXESUF): qemu-nbd.o qemu-tool.o tool-osdep.o
$(block-obj-y)
qemu-io$(EXESUF): qemu-io.o qemu-tool.o tool-osdep.o cmd.o $(block-obj-y)
-qemu-img$(EXESUF) qemu-nbd$(EXESUF) qemu-io$(EXESUF): LIBS += -lz
-
qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $@")
diff --git a/Makefile.target b/Makefile.target
index 601e97e..45d382a 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -400,8 +400,6 @@ obj-y = vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o
machine.o \
obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
-LIBS+=-lz
-
sound-obj-y =
sound-obj-$(CONFIG_SB16) += sb16.o
sound-obj-$(CONFIG_ES1370) += es1370.o
diff --git a/configure b/configure
index 0972738..4596eb1 100755
--- a/configure
+++ b/configure
@@ -869,7 +869,7 @@ cat > $TMPC << EOF
int main(void) { zlibVersion(); return 0; }
EOF
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC -lz > /dev/null 2> /dev/null ;
then
- :
+ LIBS="$LIBS -lz"
else
echo
echo "Error: zlib check failed"
--
1.6.2.5
- [Qemu-devel] [PATCH 00/20] More configure/Makefile cleanups, quintela, 2009/07/20
- [Qemu-devel] [PATCH 01/20] add coreaudio libs at the same place that the rest of the audior drivers, quintela, 2009/07/20
- [Qemu-devel] [PATCH 02/20] move the decision of using threads or not in audio from Makefile to configure, quintela, 2009/07/20
- [Qemu-devel] [PATCH 04/20] Use CONFIG_NOWIN32 previus define to simplify Makefile, quintela, 2009/07/20
- [Qemu-devel] [PATCH 03/20] Add CONFIG_NOWIN32, quintela, 2009/07/20
- [Qemu-devel] [PATCH 05/20] add $fmod_inc to CPPFLAGS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 06/20] add SLIRP directory to include list in case it is needed, quintela, 2009/07/20
- [Qemu-devel] [PATCH 08/20] fold VNC_SASL_CFLAGS into CPPCFLAGS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 07/20] fold VNC_TLS_CFLAGS into CPPCFLAGS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 10/20] -lz is needed for all binaries, move it to LIBS,
quintela <=
- [Qemu-devel] [PATCH 09/20] put together uses of -lvdeplug, quintela, 2009/07/20
- [Qemu-devel] [PATCH 11/20] put together uses of xen libraries, quintela, 2009/07/20
- [Qemu-devel] [PATCH 12/20] the else part of this test is obsolete We are testing for sdl = yes inside the else part of the test if sdl = yes, quintela, 2009/07/20
- [Qemu-devel] [PATCH 13/20] sdl_config var is never changed from sdl-config value, quintela, 2009/07/20
- [Qemu-devel] [PATCH 15/20] define SDL_CFLAGS value when we test for SDL, quintela, 2009/07/20
- [Qemu-devel] [PATCH 14/20] remove old sdl config code that was commented, quintela, 2009/07/20
- [Qemu-devel] [PATCH 17/20] use sdl_{cflags, libs} insteaf of calling sdl-config, quintela, 2009/07/20
- [Qemu-devel] [PATCH 18/20] Add -lX11 to sdl_libs when needed, and remove sdl_x11 variable, quintela, 2009/07/20
- [Qemu-devel] [PATCH 19/20] move SDL mingw32 hack to SDL detection, quintela, 2009/07/20
- [Qemu-devel] [PATCH 16/20] target_mmu is defined later, at that point has no value, quintela, 2009/07/20