From d294d170535612a94e260f1252580b6941e58345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 30 Nov 2018 11:37:00 +0200 Subject: [PATCH] Create the prefix/triplet/bin directory before installing DLLs in build-libcxx.sh If the triplet directory is wiped and only the build-mingw-w64.sh step is rerun, the bin subdirectory would be missing, ending up with a file named "bin", which actually was the libc++ DLL. --- build-libcxx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-libcxx.sh b/build-libcxx.sh index bede395..e4245a9 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -111,6 +111,7 @@ build_all() { make -j$CORES make install if [ "$type" = "shared" ]; then + mkdir -p $PREFIX/$arch-w64-mingw32/bin cp lib/libunwind.dll $PREFIX/$arch-w64-mingw32/bin else # Merge libpsapi.a into the static library libunwind.a, to