1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

speedo: Fix installer build with NSIS-3

* build-aux/speedo.mk: Add charset for nsis 3.

--
NSIS-3 defaults to UTF-8 but for NSIS-2 compatibility
we still stay on CP1252 for now.
This commit is contained in:
Andre Heinecke 2019-03-18 16:08:23 +01:00
parent 5205512fc0
commit b98799ce96
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -1212,7 +1212,9 @@ extra_installer_options += -DWITH_GUI=1
endif endif
installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt
$(MAKENSIS) -V2 \ (nsis3_args=$$(makensis -version | grep -q "^v3" && \
echo "-INPUTCHARSET CP1252"); \
$(MAKENSIS) -V2 $$nsis3_args \
-DINST_DIR=$(idir) \ -DINST_DIR=$(idir) \
-DINST6_DIR=$(idir6) \ -DINST6_DIR=$(idir6) \
-DBUILD_DIR=$(bdir) \ -DBUILD_DIR=$(bdir) \
@ -1223,7 +1225,7 @@ installer: all w32_insthelpers $(w32src)/inst-options.ini $(bdir)/README.txt
-DNAME=$(INST_NAME) \ -DNAME=$(INST_NAME) \
-DVERSION=$(INST_VERSION) \ -DVERSION=$(INST_VERSION) \
-DPROD_VERSION=$(INST_PROD_VERSION) \ -DPROD_VERSION=$(INST_PROD_VERSION) \
$(extra_installer_options) $(w32src)/inst.nsi $(extra_installer_options) $(w32src)/inst.nsi)
@echo "Ready: $(idir)/$(INST_NAME)-$(INST_VERSION)_$(BUILD_DATESTR).exe" @echo "Ready: $(idir)/$(INST_NAME)-$(INST_VERSION)_$(BUILD_DATESTR).exe"