libs/libxx/libcxx.defs: Fix build error on Windows platform
The libcxx-X.Y.Z.src.tar.xz contains a symbolic link to a directory that not exist as below. `libcxx-X.Y.Z.src/test/std/pstl -> ../../../pstl/test/std` Linux and macOS environment have no problem, but it causes an error when extracting tarball on Windows platform. This symbolic link is not actually used, so exclude it from extracting the tarball.
This commit is contained in:
parent
315ba8c77f
commit
25b7bdf943
@ -24,7 +24,8 @@ libcxx-$(VERSION).src.tar.xz:
|
||||
$(Q) curl -O -L https://github.com/llvm/llvm-project/releases/download/llvmorg-$(VERSION)/libcxx-$(VERSION).src.tar.xz
|
||||
|
||||
libcxx: libcxx-$(VERSION).src.tar.xz
|
||||
$(Q) tar -xf libcxx-$(VERSION).src.tar.xz
|
||||
$(Q) tar -xf libcxx-$(VERSION).src.tar.xz \
|
||||
--exclude libcxx-$(VERSION).src/test/std/pstl
|
||||
$(Q) mv libcxx-$(VERSION).src libcxx
|
||||
$(Q) touch $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user