build-llvm: Build with a shared libLLVM and libclang-cpp

This reduces the size of e.g. the zipped toolchain for Windows
from 183 MB to 85 MB.
This commit is contained in:
Martin Storsjö committed 2021-07-01 23:33:28 +03:00
1 parent e2ad2d4b64
commit 46efff459a
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ cd ..
cd lib
for i in lib*.a *.so* *.dylib* cmake; do
case $i in
liblldb*)
liblldb*|libclang-cpp*|libLLVM*)
;;
*)
rm -rf $i