Skip to content

Commit

Permalink
try removing dylibs from llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Nov 7, 2023
1 parent d195c7d commit 06b6633
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ export CC=/usr/local/opt/llvm/bin/clang
export LDFLAGS="-L/usr/local/opt/llvm/lib -L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"
export CPPFLAGS="-I/usr/local/opt/llvm/include"

otool -L /usr/local/opt/llvm/lib/c++/libc++.1.dylib

ls /usr/local/opt/llvm/lib/*

sudo rm -rf /usr/local/opt/llvm/lib/*.dylib
sudo rm -rf /usr/local/opt/llvm/lib/*/*.dylib

$CXX --version

echo "Downloading static libs for OS_TARGET: $OS_TARGET"
Expand Down

0 comments on commit 06b6633

Please sign in to comment.