MoritzMaxeiner/llvm-d

Using llvm's debian repository, the shared lib's name is different.

1100110 opened this issue · 2 comments

Right Here.

The version on my system is simply libLLVM-3.3.so.1.

Maybe need some way to explicitly choose the name?

You can use LLVM.load(string file) for that. It's what the static constructor does: https://github.com/Calrama/llvm-d/blob/7f14f54e8ee47710ec23e44e579700e57560b1c2/llvm/c/all.d#L92
The library name should be suffixed with svn currently imho, though, as there is no (proper) release of LLVM 3.3 as of yet (that I know of) and it's what LLVM's trunk compiles to as a default afaik.

nice, thanks!