Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: tools/clang/scripts/package.sh

Issue 218613009: clang/mac: Bundle libc++.dylib with clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clob Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang/scripts/package.sh
diff --git a/tools/clang/scripts/package.sh b/tools/clang/scripts/package.sh
index ba9d7443baa9f45cf9a89e306c4d58c64eca40d6..93d07809d9f183de91a948bfbbd9aec24515a994 100755
--- a/tools/clang/scripts/package.sh
+++ b/tools/clang/scripts/package.sh
@@ -100,6 +100,10 @@ cp buildlog.txt $PDIR/
cp "${LLVM_BIN_DIR}/clang" $PDIR/bin/
(cd $PDIR/bin && ln -sf clang clang++ && cd -)
cp "${LLVM_BIN_DIR}/llvm-symbolizer" $PDIR/bin/
+if [ "$(uname -s)" = "Darwin" ]; then
+ cp "${LLVM_BIN_DIR}/libc++.1.${SO_EXT}" $PDIR/bin/
+ (cd $PDIR/bin && ln -sf libc++.1.dylib libc++.dylib && cd -)
+fi
# Copy plugins. Some of the dylibs are pretty big, so copy only the ones we
# care about.

Powered by Google App Engine
This is Rietveld 408576698