From c02817e5bfbb27955cac970019e6670dc427bc41 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sat, 27 Apr 2013 00:27:48 +0200 Subject: 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 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') 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 ###################################################################### -- cgit v1.2.3