Sven Wegener 5c04efd2d7
toolchain: fix dangling symlink to self in FixupLibdir
This avoids a dangling symlink to self when reinstalling the toolchain:

./staging_dir/toolchain-mips_24kc_gcc-9.3.0_musl/lib/lib -> lib

This is caused by the fact that in the toolchain dir we have

'lib64 -> lib'

and on executing

'ln lib ./staging_dir/toolchain-mips_24kc_gcc-9.3.0_musl/lib64'

ln dereference the symbolic link 'lib64' to 'lib' so the REAL command is

'ln lib ./staging_dir/toolchain-mips_24kc_gcc-9.3.0_musl/lib'

this results in the dangling symlink to self.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
[ add more details to the commit description and fix title ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-07-01 19:17:36 +02:00
..
2022-03-28 00:15:52 +01:00
2022-01-17 09:14:26 +01:00
2022-01-17 09:14:26 +01:00
2021-02-05 14:54:47 +01:00
2021-05-13 15:13:15 +02:00
2021-02-05 14:54:47 +01:00
2022-06-29 23:38:47 +02:00
2022-06-27 00:57:16 +02:00
2022-05-18 13:32:06 +03:00
2022-06-21 16:41:17 +01:00
2022-04-09 15:56:04 +02:00
2022-06-19 12:31:02 +02:00
2021-11-20 21:08:25 +01:00
2022-01-17 09:14:26 +01:00
2021-10-24 18:20:50 +02:00
2021-02-28 00:09:09 +00:00
2021-02-05 14:54:47 +01:00