mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
Use relative symlinks to Elf2Mac
Use relative rather than absolute symlinks to Elf2Mac. This helps things not break if the prefix is later moved.
This commit is contained in:
parent
6dda1160ab
commit
63d6f6b684
@ -260,8 +260,8 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
|||||||
# (Elf2Mac is built by cmake below)
|
# (Elf2Mac is built by cmake below)
|
||||||
mv $PREFIX/bin/m68k-apple-macos-ld $PREFIX/bin/m68k-apple-macos-ld.real
|
mv $PREFIX/bin/m68k-apple-macos-ld $PREFIX/bin/m68k-apple-macos-ld.real
|
||||||
mv $PREFIX/m68k-apple-macos/bin/ld $PREFIX/m68k-apple-macos/bin/ld.real
|
mv $PREFIX/m68k-apple-macos/bin/ld $PREFIX/m68k-apple-macos/bin/ld.real
|
||||||
ln -s $PREFIX/bin/Elf2Mac $PREFIX/bin/m68k-apple-macos-ld
|
ln -s Elf2Mac $PREFIX/bin/m68k-apple-macos-ld
|
||||||
ln -s $PREFIX/bin/Elf2Mac $PREFIX/m68k-apple-macos/bin/ld
|
ln -s ../../bin/Elf2Mac $PREFIX/m68k-apple-macos/bin/ld
|
||||||
|
|
||||||
if [ $CLEAN_AFTER_BUILD != false ]; then
|
if [ $CLEAN_AFTER_BUILD != false ]; then
|
||||||
rm -rf binutils-build
|
rm -rf binutils-build
|
||||||
|
Loading…
Reference in New Issue
Block a user