summaryrefslogtreecommitdiff
path: root/external/libxmlsec
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-01-22 16:57:17 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-01-23 00:11:47 +0000
commit7d69efd06dd1a1fee28c117e5ab79e557056f82c (patch)
treec46a7b1a3706b7d7e4058a2b5c41bfa19318b1ee /external/libxmlsec
parent3fc292f7b32f30b98dad208eb03e086b927d38a2 (diff)
Win build: Set default script engine for cscript
When Windows build is executed, cscript is used to execute JavaScript files. This uses cscript from the system to execute *.js files. cscript is not only capable of executing JavaScript, but also VBScript. Which engine to run is usually determined by the file extension, except when any installed program has added a registered association to the used file type. In that case, the execution of cscript and thus the build fails. This can be prevented by directly defining the script engine when calling cscript, using the /e:javascript parameter for *.js targets. Change-Id: If717b8ae5335acbe4f11c269d3c98a7247a135e6 Reviewed-on: https://gerrit.libreoffice.org/21717 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'external/libxmlsec')
-rw-r--r--external/libxmlsec/ExternalProject_xmlsec.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libxmlsec/ExternalProject_xmlsec.mk b/external/libxmlsec/ExternalProject_xmlsec.mk
index 781f22fe587f..a22b426657c5 100644
--- a/external/libxmlsec/ExternalProject_xmlsec.mk
+++ b/external/libxmlsec/ExternalProject_xmlsec.mk
@@ -38,7 +38,7 @@ $(call gb_ExternalProject_get_state_target,xmlsec,build) :
else
$(call gb_ExternalProject_get_state_target,xmlsec,build) :
$(call gb_ExternalProject_run,build,\
- cscript configure.js crypto=mscrypto xslt=no iconv=no static=no \
+ cscript /e:javascript configure.js crypto=mscrypto xslt=no iconv=no static=no \
lib=$(call gb_UnpackedTarball_get_dir,xml2)/win32/bin.msvc \
$(if $(filter TRUE,$(ENABLE_DBGUTIL)),debug=yes) \
&& unset MAKEFLAGS \