Trying to run clang example

Hi all,

I’m trying to compile and run PrintFunctionNames example,
here is build file that I use:

Please advice me how can I resolve this issue.

You linked LLVM twice: into your dylib and into clang.

How can I disable linking with LLVM?
I tough -shared option tell compiler to link dynamically with libraries.

If I remove --libs from llvm-config then compiler can not find required symbols.
And I don’t know other ways to skip linking.

How it done in LLVM?