Skip to content

Commit 68b6c91

Browse files
committed
ci: Handle case where prebuilt was cached but brew install binutils
1 parent 1efd200 commit 68b6c91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cibuild.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@ function binutils {
348348
case $os in
349349
Darwin)
350350
brew install binutils
351+
# It is possible we cached prebuilt but did brew install so recreate
352+
# simlink if it exists
353+
rm -f $prebuilt/bintools/bin/objcopy
351354
ln -s /usr/local/opt/binutils/bin/objcopy $prebuilt/bintools/bin/objcopy
352355
;;
353356
esac

0 commit comments

Comments
 (0)