Re: DUB Build Linker Library Search Path

2015-07-11 Thread via Digitalmars-d-learn
On Friday, 10 July 2015 at 12:26:02 UTC, Per Nordlöw wrote: On Friday, 10 July 2015 at 12:04:53 UTC, Nordlöw wrote: Should be LFLAGS="-L/usr/lib/llvm-3.6/lib" dub build --compiler=/usr/bin/dmd but still fails I can't find any place in the DUB sources that reads `LFLAGS` from the envir

Re: DUB Build Linker Library Search Path

2015-07-10 Thread via Digitalmars-d-learn
On Friday, 10 July 2015 at 12:04:53 UTC, Nordlöw wrote: Should be LFLAGS="-L/usr/lib/llvm-3.6/lib" dub build --compiler=/usr/bin/dmd but still fails I can't find any place in the DUB sources that reads `LFLAGS` from the environment. Only one place when `DFLAGS` is read. A regression?

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 11:56:23 UTC, Nordlöw wrote: fails aswell: Should be LFLAGS="-L/usr/lib/llvm-3.6/lib" dub build --compiler=/usr/bin/dmd but still fails

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 11:21:34 UTC, Rikki Cattermole wrote: No no, LFLAGS not LDFLAGS. It's basically lflags from dub file but in environment args. No, doesn't work: LFLAGS="-L-L/usr/lib/llvm-3.6/lib" dub build --compiler=/usr/bin/dmd fails aswell: Target tango 1.0.1+2.067 is up t

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 11:02:16 UTC, Nordlöw wrote: What's wrong with my call to DUB? I'm sitting on DUB git master. Found DFLAGS="-L-L/usr/lib/llvm-3.6/lib" dub build --compiler=/usr/bin/dmd to work but that's a bit ugly.

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Rikki Cattermole via Digitalmars-d-learn
On 10/07/2015 11:02 p.m., "Nordlöw" wrote: On Friday, 10 July 2015 at 09:37:42 UTC, Rikki Cattermole wrote: On 10/07/2015 9:34 p.m., "Nordlöw" wrote: On Friday, 10 July 2015 at 09:29:49 UTC, Martin Nowak wrote: On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build`

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 09:37:42 UTC, Rikki Cattermole wrote: On 10/07/2015 9:34 p.m., "Nordlöw" wrote: On Friday, 10 July 2015 at 09:29:49 UTC, Martin Nowak wrote: On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build` where to find libraries in non-standard dir

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Rikki Cattermole via Digitalmars-d-learn
On 10/07/2015 9:34 p.m., "Nordlöw" wrote: On Friday, 10 July 2015 at 09:29:49 UTC, Martin Nowak wrote: On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build` where to find libraries in non-standard directories? You're missing the development package libclang-dev, wh

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 09:29:49 UTC, Martin Nowak wrote: On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build` where to find libraries in non-standard directories? You're missing the development package libclang-dev, which should come with a pkg-config. I've

DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
My DUB building of dstep on Ubuntu 15.04 fails because it can't find the libclang which is placed in /usr/lib/llvm3-6/lib/libclang.so.1 How do I tell `dub build` where to find libraries in non-standard directories?

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Martin Nowak via Digitalmars-d-learn
On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build` where to find libraries in non-standard directories? You're missing the development package libclang-dev, which should come with a pkg-config.

Re: DUB Build Linker Library Search Path

2015-07-10 Thread Nordlöw
On Friday, 10 July 2015 at 09:27:19 UTC, Nordlöw wrote: How do I tell `dub build` where to find libraries in non-standard directories? From the command line that is...