Am Mon, 18 Jan 2016 15:05:28 +0000 schrieb Russel Winder via Digitalmars-d <[email protected]>:
> On Mon, 2016-01-18 at 15:33 +0100, Jacob Carlborg via Digitalmars-d > wrote: > > On 2016-01-18 14:23, Russel Winder via Digitalmars-d wrote: > > > > > I am just trying this out. I added -L/usr/lib64/llvm in the > > > relevant > > > line of dub.json and everything seems to work nicely on Fedora. > > > Sadly > > > on Debian there is no version independent location for LLVM as far > > > as I > > > can tell. > > > > > > "lflags-posix": ["-lclang", "-rpath", ".", "-L.", "- > > > L/usr/lib64/llvm", "-L/usr/lib/llvm-3.7/lib"], > > > > > > Works on both Fedora and Debian, but it hardwires 3.7. > > > > And a glob (*) would most likely not work? > > if you tried something like that, you would get all present LLVM > versions in the path which would likely lead to some chaos. > I guess they use pkg-config? Not sure if you can use that in dub...
