From f759a4d143cf51f600495749092aa1f2c4d40888 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 14 Apr 2018 20:17:12 +0200 Subject: [PATCH] nsis: More fixes for 64 bit builds Signed-off-by: Stefan Weil --- nsis/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsis/Makefile.am b/nsis/Makefile.am index 69019a4577..674adc3ece 100644 --- a/nsis/Makefile.am +++ b/nsis/Makefile.am @@ -4,11 +4,11 @@ all: if MINGW -gitrev="`git --git-dir=${abs_top_srcdir}/.git --work-tree=${abs_top_srcdir} describe --always --tags`" +gitrev="$(shell git --git-dir=${abs_top_srcdir}/.git --work-tree=${abs_top_srcdir} describe --always --tags)" .PHONY: winsetup winsetup: - makensis -DCROSSBUILD -DSHARED -DSRCDIR=$(top_srcdir) -DVERSION=${gitrev} -NOCD $(top_srcdir)/nsis/tesseract.nsi + makensis -DCROSSBUILD -DSHARED -DSRCDIR=$(top_srcdir) -DVERSION=${gitrev} $(shell test "$(host_cpu)" = x86_64 && echo "-DW64") -NOCD $(top_srcdir)/nsis/tesseract.nsi endif