summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-05-20 22:15:08 +0100
committerSimon Tatham <anakin@pobox.com>2017-05-20 22:15:08 +0100
commit4148041331e687bb8e8cfe4058182037d6a0c085 (patch)
tree901d96e39092f3569cdbccaf98e60204335fd074
parentd2fdf328afd14c17f96178c9194a48e4944deac9 (diff)
downloadhalibut-4148041331e687bb8e8cfe4058182037d6a0c085.zip
halibut-4148041331e687bb8e8cfe4058182037d6a0c085.tar.gz
halibut-4148041331e687bb8e8cfe4058182037d6a0c085.tar.bz2
halibut-4148041331e687bb8e8cfe4058182037d6a0c085.tar.xz
Buildscr: remove the Windows delegation for code signing.
I've just set up a script that does code signing by a more sensible method for cross-compiled Windows builds (i.e. still using the same underlying technology, but not bothering to fire up a whole Windows delegation environment that won't get used). So now I can use it.
-rw-r--r--Buildscr13
1 files changed, 5 insertions, 8 deletions
diff --git a/Buildscr b/Buildscr
index 6931517..8caf393 100644
--- a/Buildscr
+++ b/Buildscr
@@ -33,14 +33,11 @@ in buildwin do ../halibut/configure
in buildwin/charset with clangcl64 do PATH="$$PWD/lld-link-bodge:$$PATH" make CC='clang --target=x86_64-pc-windows-msvc18.0.0 -D_CRT_SECURE_NO_WARNINGS -fuse-ld=lld' bin_PROGRAMS=
in buildwin with clangcl64 do PATH="$$PWD/lld-link-bodge:$$PATH" make CC='clang --target=x86_64-pc-windows-msvc18.0.0 -D_CRT_SECURE_NO_WARNINGS -fuse-ld=lld' EXEEXT=.exe halibut.exe
-delegate windows
- # Code-sign the Windows binary, if the local bob config provides
- # a script to do so. We assume here that the script accepts an -i
- # option to provide a 'more info' URL, and that it signs the file
- # in place.
- ifneq "$(winsigncode)" "" in buildwin do $(winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/halibut/ halibut.exe
- return buildwin/halibut.exe
-enddelegate
+# Code-sign the Windows binary, if the local bob config provides
+# a script to do so. We assume here that the script accepts an -i
+# option to provide a 'more info' URL, and that it signs the file
+# in place.
+ifneq "$(cross_winsigncode)" "" in buildwin do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/halibut/ halibut.exe
# Do a full local build of Halibut, which will also build the docs.
in builddist do make