Dub and posix

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 18 07:05:28 PST 2016


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.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160118/df608a04/attachment.sig>


More information about the Digitalmars-d mailing list