summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/clang/scripts/package.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/clang/scripts/package.sh b/tools/clang/scripts/package.sh
index 2b23808..0c76601 100755
--- a/tools/clang/scripts/package.sh
+++ b/tools/clang/scripts/package.sh
@@ -105,6 +105,10 @@ if [ "$(uname -s)" = "Darwin" ]; then
(cd $PDIR/bin && ln -sf libc++.1.dylib libc++.dylib)
fi
+# Copy libc++ headers.
+mkdir $PDIR/include
+cp -R "${LLVM_BOOTSTRAP_INSTALL_DIR}/include/c++" $PDIR/include
+
# Copy plugins. Some of the dylibs are pretty big, so copy only the ones we
# care about.
cp "${LLVM_LIB_DIR}/libFindBadConstructs.${SO_EXT}" $PDIR/lib