mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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:
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user