From: Paolo Bonzini Date: Tue, 15 Jan 2013 08:49:36 +0000 (+0100) Subject: build: fix Win32 clean build X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=af381ebeacdefcec0d2b44bdbb9d6e01e35f691f;p=qemu.git build: fix Win32 clean build The version.o file did not appear explicitly as a dependency, and this caused clean builds to fail. Force its build by making the Makefile depend on version.o. (We cannot add it to libqemuutil.a, because it doesn't export any symbol and thus would not be pulled by the linker). Cc: Blue Swirl Cc: Stefan Weil Tested-by: Stefan Weil Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- diff --git a/Makefile b/Makefile index 7622a4cfa4..cfa2fa6383 100644 --- a/Makefile +++ b/Makefile @@ -153,6 +153,7 @@ version.o: $(SRC_PATH)/version.rc config-host.h $(call quiet-command,$(WINDRES) -I. -o $@ $<," RC $(TARGET_DIR)$@") version-obj-$(CONFIG_WIN32) += version.o +Makefile: $(version-obj-y) ###################################################################### # Build libraries