Skip to content

Commit d294d17

Browse files
committed
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.
1 parent 53db1c3 commit d294d17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build-libcxx.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ build_all() {
111111
make -j$CORES
112112
make install
113113
if [ "$type" = "shared" ]; then
114+
mkdir -p $PREFIX/$arch-w64-mingw32/bin
114115
cp lib/libunwind.dll $PREFIX/$arch-w64-mingw32/bin
115116
else
116117
# Merge libpsapi.a into the static library libunwind.a, to

0 commit comments

Comments
 (0)