Commit 7fbcda2b authored by Andrew Hsieh's avatar Andrew Hsieh
Browse files

Corrected ld.mcld symlink

Change-Id: I5d6eb035cbece3f39be529eacc10f0f203c8f51d
parent e738b72d
......@@ -97,7 +97,13 @@ for SYSTEM in $SYSTEMS; do
LD_NOEXE=${LD%%.exe}
LD_MCLD=${LD_NOEXE}.mcld$HOST_EXE
run rm -f "$LD_MCLD"
run ln -s "$MCLD" "$LD_MCLD"
if [ "$LD_NOEXE" != "${LD_NOEXE%%/ld}" ] ; then
# ld in $ABI/bin/ld
run ln -s "../../../../../../$MCLD" "$LD_MCLD"
else
# ld in bin/$ABI-ld
run ln -s "../../../../../$MCLD" "$LD_MCLD"
fi
ALL_LD_MCLDS=$ALL_LD_MCLDS" $LD_MCLD"
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment