Skip to content

Commit e4edc9c

Browse files
authored
add links for otool and install_name_tool
1 parent 3fbda59 commit e4edc9c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/actions/osxcross/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,18 @@ runs:
102102
sudo chmod +x $OSXCROSS_FOLDER/target/bin/*
103103
else
104104
chmod +x $OSXCROSS_FOLDER/target/bin/*
105-
fi
106-
fi
107-
105+
fi
106+
fi
108107
echo "::endgroup::"
109108
110109
echo "::group::Finding Arch Name"
111110
echo "$OSXCROSS_FOLDER/target/bin" >> $GITHUB_PATH
112111
ARCH_TARGET="$(ls $OSXCROSS_FOLDER/target | grep apple)"
113112
echo "::endgroup::"
114113
114+
ln -sf ${ARCH_TARGET}-otool ${OSXCROSS_TARGET}/bin/otool
115+
ln -sf ${ARCH_TARGET}-install_name_tool ${OSXCROSS_TARGET}/bin/install_name_tool
116+
115117
echo "::group::Write meson cross file"
116118
cat << EOF > $OSXCROSS_FOLDER/meson_osxcross.txt
117119
[constants]

0 commit comments

Comments
 (0)