summaryrefslogtreecommitdiffstats
path: root/security/nss/automation/taskcluster/windows/build_gyp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/automation/taskcluster/windows/build_gyp.sh')
-rw-r--r--security/nss/automation/taskcluster/windows/build_gyp.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/nss/automation/taskcluster/windows/build_gyp.sh b/security/nss/automation/taskcluster/windows/build_gyp.sh
index c0f38f948..1a78d44a7 100644
--- a/security/nss/automation/taskcluster/windows/build_gyp.sh
+++ b/security/nss/automation/taskcluster/windows/build_gyp.sh
@@ -31,8 +31,14 @@ export PATH="${PATH}:${PWD}/ninja/bin:${PWD}/gyp/test-env/Scripts"
# Clone NSPR.
hg_clone https://hg.mozilla.org/projects/nspr nspr default
+if [[ -f nss/nspr.patch && "$ALLOW_NSPR_PATCH" == "1" ]]; then
+ pushd nspr
+ cat ../nss/nspr.patch | patch -p1
+ popd
+fi
+
# Build with gyp.
-./nss/build.sh -g -v "$@"
+./nss/build.sh -g -v --enable-libpkix "$@"
# Package.
7z a public/build/dist.7z dist