PMunch / futhark

Automatic wrapping of C headers in Nim
MIT License
355 stars 19 forks source link

libclang detection on Ubuntu Linux #78

Closed daniel-j closed 10 months ago

daniel-j commented 11 months ago

Small fix for Ubuntu Linux, where libclang is in /usr/lib/llvm-XX/lib. Works on other Linuxes too. Use clang binary to get the path.

PMunch commented 11 months ago

Hmm, wouldn't it be better to just use clang -print-file-name=libclang.so instead?

daniel-j commented 11 months ago

Hmm, wouldn't it be better to just use clang -print-file-name=libclang.so instead?

Thanks, did not know about that flag :)