aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-27 00:27:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-27 00:28:34 +0200
commitc02817e5bfbb27955cac970019e6670dc427bc41 (patch)
treeaa81ba3ca3958d5046c45e45cba8d9261e515159 /Makefile
parent6821cdc7c857c6af47277e98dde24cc99ddc0531 (diff)
downloadqemu-c02817e5bfbb27955cac970019e6670dc427bc41.zip
qemu-c02817e5bfbb27955cac970019e6670dc427bc41.tar.gz
qemu-c02817e5bfbb27955cac970019e6670dc427bc41.tar.bz2
win32: move Makefile dependencies on version-obj-y to rules.mak
This makes the test on $(LIBTOOL) work. Otherwise, LIBTOOL is /bin/false by the time the test is done. Fixes Win32 compilation without a working cross-libtool. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 58e3527..f91f3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -170,8 +170,7 @@ version.o: $(SRC_PATH)/version.rc config-host.h | version.lo
version.lo: $(SRC_PATH)/version.rc config-host.h
version-obj-$(CONFIG_WIN32) += version.o
-version-lobj-$(CONFIG_WIN32) += $(if $(LIBTOOL),version.lo)
-Makefile: $(version-obj-y) $(version-lobj-y)
+version-lobj-$(CONFIG_WIN32) += version.lo
######################################################################