From 77746490c428ef55149664ca0cd5578444877e5b Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 19 Jan 2022 21:29:49 +0000 Subject: will not create symlink if exists --- repo/system/binutils.xibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repo/system/binutils.xibuild') 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 } -- cgit v1.2.1