Skip to content

Commit 720c657

Browse files
committed
please create-sdk-artifact: add the gnupg/gnutls vs libunistring work-around
Before we can actually deploy the `git-extra` package with the just-added work-around, the corresponding PR build in `build-extra` needs to pass, which requires the same work-around when creating the SDK artifacts. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b9d2af4 commit 720c657

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

please.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3255,8 +3255,10 @@ create_sdk_artifact () { # [--out=<directory>] [--git-sdk=<directory>] [--archit
32553255
/usr/bin/msys-pcre*.dll
32563256
/usr/bin/msys-gcc_s-*.dll
32573257
3258-
# For the libuuid check
3258+
# For the libuuid/libunistring check
32593259
/usr/bin/msys-apr*.dll
3260+
/usr/bin/msys-unistring*.dll
3261+
/usr/bin/msys-gnutls*.dll
32603262
32613263
# markdown, to render the release notes
32623264
/usr/bin/markdown
@@ -3280,6 +3282,15 @@ create_sdk_artifact () { # [--out=<directory>] [--git-sdk=<directory>] [--archit
32803282
# copy git.exe, for the libssp test
32813283
git -C "$output_path" show HEAD:mingw32/bin/git.exe \
32823284
>"$output_path/mingw32/bin/git.exe" &&
3285+
# Work around an outdated i686 gnupg/gnutls build that depends on a hence-updated libunistring
3286+
if test ! -e "$output_path/usr/bin/msys-unistring-2.dll" -a \
3287+
-e "$output_path/usr/bin/msys-unistring-5.dll" -a \
3288+
-e "$output_path/usr/bin/msys-gnutls-30.dll" &&
3289+
grep msys-unistring-2 "$output_path/usr/bin/msys-gnutls-30.dll"
3290+
then
3291+
cp "$output_path/usr/bin/msys-unistring-5.dll" \
3292+
"$output_path/usr/bin/msys-unistring-2.dll"
3293+
fi &&
32833294
ARCH=i686 "$output_path/git-cmd.exe" --command=usr\\bin\\sh.exe -lx \
32843295
"${this_script_path%/*}/make-file-list.sh" |
32853296
# escape the `[` in `[.exe`

0 commit comments

Comments
 (0)