build: support rpath

This commit is contained in:
xushiwei
2024-07-15 10:13:01 +08:00
parent 0b0cecc2a9
commit 2fcfac9e84
2 changed files with 23 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
export LLVM_DIR=/opt/homebrew/Cellar/llvm@17/17.0.6
export LLVM_DIR=$(llvm-config --prefix)
clang -L$LLVM_DIR/lib -lclang -lc++ -I$LLVM_DIR/include astdump.cpp