From: Paolo Bonzini Date: Fri, 26 Apr 2013 22:27:48 +0000 (+0200) Subject: win32: move Makefile dependencies on version-obj-y to rules.mak X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c02817e5bfbb27955cac970019e6670dc427bc41;p=qemu.git 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 --- diff --git a/Makefile b/Makefile index 58e352772c..f91f3b0a11 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 ###################################################################### diff --git a/rules.mak b/rules.mak index 279525d3d3..197a9d7abf 100644 --- a/rules.mak +++ b/rules.mak @@ -22,12 +22,15 @@ QEMU_CFLAGS += -I$(