diff options
author | davidovski <david@davidovski.xyz> | 2022-01-19 21:29:49 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-19 21:29:49 +0000 |
commit | 77746490c428ef55149664ca0cd5578444877e5b (patch) | |
tree | 6d102a9a788f981c72863ec272be64eaa7db7f84 /repo/system | |
parent | 9e3881d63d385deb8f6b1f8718eaa1e8b633dd58 (diff) |
will not create symlink if exists
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/binutils.xibuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild index bb3db9d..8a18c93 100644 --- a/repo/system/binutils.xibuild +++ b/repo/system/binutils.xibuild @@ -40,6 +40,6 @@ package() { make -j1 DESTDIR=$PKG_DEST -j1 install cp ../include/libiberty.h $PKG_DEST/usr/include rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a - ln -sv ld.gold $PKG_DEST/usr/bin/ld + [ -e $PKG_DEST/usr/bin/ld ] && ln -sv ld.gold $PKG_DEST/usr/bin/ld } |