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.
This commit is contained in:
Martin Storsjö committed 2018-11-30 11:37:00 +02:00
1 parent 53db1c3a4c
commit d294d17053
1 file changed
+1
+1
View File
@@ -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