Index: tools/clang/scripts/package.sh |
diff --git a/tools/clang/scripts/package.sh b/tools/clang/scripts/package.sh |
index 2b23808fafe85759a86acbcdb8576cc219bc2f98..0c76601b21bb0b1d56d921e637607c6f1016cf66 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 |