From 4d5bc22242aa5c41de370fe2caf8f3fb524a7748 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Sun, 6 Nov 2016 21:15:26 +0100 Subject: [PATCH] Fix the Windows version resource build When building the Windows version resource, the -DHAVE_CONFIG_H option isn't passed to resource compiler automatically. The result is that development builds don't have their git revision embedded in the DLL. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 12908f0..c100380 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -95,7 +95,7 @@ libdivecomputer.exp: libdivecomputer.symbols $(AM_V_GEN) sed -e '/^$$/d' $< > $@ .rc.lo: - $(AM_V_GEN) $(LIBTOOL) --silent --tag=RC --mode=compile $(RC) $< -o $@ + $(AM_V_GEN) $(LIBTOOL) --silent --tag=CC --mode=compile $(RC) $(DEFS) $(DEFAULT_INCLUDES) $< -o $@ libdivecomputer.lo: revision.h