summaryrefslogtreecommitdiffstats
path: root/security/nss/automation/taskcluster/windows/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/automation/taskcluster/windows/build.sh')
-rw-r--r--security/nss/automation/taskcluster/windows/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/nss/automation/taskcluster/windows/build.sh b/security/nss/automation/taskcluster/windows/build.sh
index eebb41535..f878a3d0d 100644
--- a/security/nss/automation/taskcluster/windows/build.sh
+++ b/security/nss/automation/taskcluster/windows/build.sh
@@ -12,6 +12,12 @@ source "$(dirname "$0")/setup.sh"
# 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.
make -C nss nss_build_all