Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/clang++/base/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function mason_build {

# copy c++ headers (on osx these are a symlink to the system headers)
if [[ -d "${CLANG_PREFIX}/include/c++" ]]; then
cp -r "${CLANG_PREFIX}/include/c++" "${MASON_PREFIX}/include/"
# todo check if symLink
cp -a "${CLANG_PREFIX}/include/c++" "${MASON_PREFIX}/include/"
fi

# copy libs
Expand Down
4 changes: 2 additions & 2 deletions scripts/clang-tidy/base/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function mason_build {

# copy c++ headers (on osx these are a symlink to the system headers)
if [[ -d "${CLANG_PREFIX}/include/c++" ]]; then
cp -r "${CLANG_PREFIX}/include/c++" "${MASON_PREFIX}/include/"
cp -a "${CLANG_PREFIX}/include/c++" "${MASON_PREFIX}/include/"
fi

# copy c headers
Expand Down Expand Up @@ -43,4 +43,4 @@ function mason_ldflags {

function mason_static_libs {
:
}
}