From 045ebedb484fc4f168e5dd1d1f5bd16af0b10aa8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 28 Sep 2017 17:00:29 +0100 Subject: [PATCH 2/3] Windows: Use libtool support for compiling resources in tools/ too We might as well be consistent with dbus/ here. Note that unlike the version in dbus/ we have to build a plain object file here, not a Libtool object (.o, not .lo) because it's going to go into an executable, not a shared library. That's the only difference. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015 --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 96ce03fa..b40349bc 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -118,7 +118,7 @@ if DBUS_WIN SUFFIXES = .rc .rc.o: - $(WINDRES) $< -o $@ + $(LIBTOOL) $(AM_V_lt) --tag=RC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $< -o $@ nodist_dbus_update_activation_environment_SOURCES = disable-uac.rc -- 2.14.2