DUB linking to local library
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 3 19:45:20 PDT 2015
On Tuesday, 4 August 2015 at 02:26:17 UTC, Craig Dillabaugh wrote:
> So how can I force my application to link to my local copy of
> GDAL2 at /home/craig2/code/gdal-2.0.0/lib64. Any help is
> appreciated.
Hi,
I recently ran into similare problems, different lib.
Try changing:
"lflags" :
["-L/home/craig2/code/gdal-2.0.0/lib64/libgdal.so.20.0.0" ]
"libs" : ["gdal"]
to:
"lflags" : ["-L/home/craig2/code/gdal-2.0.0/lib64/" ]
"libs" : [":libgdal.so.20.0.0"]
observe the flags dub passes on to dmd by using --vverbose
//Joakim
More information about the Digitalmars-d-learn
mailing list