From 1d3f223d2998d10b4acb1ce2157db4ef565860c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 19 Jun 2018 09:30:31 +0300 Subject: [PATCH] Don't error out in install-wrappers.sh if some binary tools are missing If installing on top of a prebuilt win32 release of llvm instead of building from source, the nm and strings executables are missing, and MSYS2 errors out when creating a symlink to a file that doesn't exist (since it does a copy instead of making an actual symlink). --- install-wrappers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-wrappers.sh b/install-wrappers.sh index 52edcaa..08c53b2 100755 --- a/install-wrappers.sh +++ b/install-wrappers.sh @@ -18,7 +18,7 @@ for arch in $ARCHS; do ln -sf clang-target-wrapper.sh $arch-w64-mingw32-$exec done for exec in ar ranlib nm strings; do - ln -sf llvm-$exec $arch-w64-mingw32-$exec + ln -sf llvm-$exec $arch-w64-mingw32-$exec || true done for exec in strip; do ln -sf $(which true) $arch-w64-mingw32-$exec