Fix overwriting symlinks to directories
This avoids extra misplaced symlinks if rerunning the build scripts.
This commit is contained in:
1 parent
158b65f7c0
commit
6e4478b778
2 files changed
+2
-2
No files matched your search
@@ -22,7 +22,7 @@ fi
|
|||||||
# Add a symlink for i386 -> i686; we normally name the toolchain
|
# Add a symlink for i386 -> i686; we normally name the toolchain
|
||||||
# i686-w64-mingw32, but due to the compiler-rt cmake peculiarities, we
|
# i686-w64-mingw32, but due to the compiler-rt cmake peculiarities, we
|
||||||
# need to refer to it as i386 at this stage.
|
# need to refer to it as i386 at this stage.
|
||||||
ln -sf i686-w64-mingw32 $PREFIX/i386-w64-mingw32 || true
|
ln -sfn i686-w64-mingw32 $PREFIX/i386-w64-mingw32 || true
|
||||||
|
|
||||||
cd compiler-rt
|
cd compiler-rt
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ make install
|
|||||||
cd ../..
|
cd ../..
|
||||||
for arch in $ARCHS; do
|
for arch in $ARCHS; do
|
||||||
mkdir -p $PREFIX/$arch-w64-mingw32
|
mkdir -p $PREFIX/$arch-w64-mingw32
|
||||||
ln -sf ../generic-w64-mingw32/include $PREFIX/$arch-w64-mingw32/include
|
ln -sfn ../generic-w64-mingw32/include $PREFIX/$arch-w64-mingw32/include
|
||||||
done
|
done
|
||||||
|
|
||||||
cd mingw-w64-crt
|
cd mingw-w64-crt
|
||||||
|
|||||||
Reference in new issue
Block a user