Skip to content

Commit 7f7305c

Browse files
committed
_ci-linux-debian.sh: install cross-binutils for boringssl/awslc [ci skip]
for binutils strip, when using llvm-mingw only. (untested)
1 parent 71691b2 commit 7f7305c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

_ci-linux-debian.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,18 @@ fi
2424
[[ "${CW_CONFIG:-}" = *'boringssl'* ]] && extra+=' golang'
2525

2626
if [[ "${CW_CONFIG:-}" = *'win'* ]]; then
27-
[ "${CW_LLVM_MINGW_ONLY:-}" != '1' ] && extra+=' gcc-mingw-w64-x86-64-win32'
27+
if [ "${CW_LLVM_MINGW_ONLY:-}" != '1' ]; then
28+
extra+=' gcc-mingw-w64-x86-64-win32'
29+
elif [[ "${CW_CONFIG:-}" = *'boringssl'* ]]; then
30+
extra+=' binutils-mingw-w64-x86-64'
31+
fi
2832
extra+=' wine64 wine'
2933
if [[ "${CW_CONFIG:-}" = *'x86'* ]]; then
30-
[ "${CW_LLVM_MINGW_ONLY:-}" != '1' ] && extra+=' gcc-mingw-w64-i686-win32'
34+
if [ "${CW_LLVM_MINGW_ONLY:-}" != '1' ]; then
35+
extra+=' gcc-mingw-w64-i686-win32'
36+
elif [[ "${CW_CONFIG:-}" = *'boringssl'* ]]; then
37+
extra+=' binutils-mingw-w64-i686'
38+
fi
3139
extra+=' wine32'
3240
fi
3341
# https://tracker.debian.org/pkg/osslsigncode

0 commit comments

Comments
 (0)