Skip to content

Commit 732c33b

Browse files
GUIDINGLIxiaoxiang781216
authored andcommitted
cibuild.sh: fix binutils path error
Signed-off-by: ligd <[email protected]>
1 parent 318f657 commit 732c33b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cibuild.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,14 @@ function c-cache {
326326
}
327327

328328
function binutils {
329-
add_path /usr/local/binutils/bin/
329+
mkdir -p $prebuilt/bintools/bin
330+
add_path $prebuilt/bintools/bin
330331

331332
if ! type objcopy > /dev/null; then
332333
case $os in
333334
Darwin)
334335
brew install binutils
336+
ln -s /usr/local/opt/binutils/bin/objcopy $prebuilt/bintools/bin/objcopy
335337
;;
336338
esac
337339
fi

0 commit comments

Comments
 (0)