mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +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. Change-Id: Ib01c8bdca04794c3ca3761e940cf3ab8d6361262
This commit is contained in:
@@ -24,7 +24,8 @@ VERSION=12.0.0
|
||||
# $(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