On Fri, Jan 20, 2017 at 03:25:44AM -0800, Hal Murray wrote:

> I'm in way over my head here, but I blundered into something that is probably 
> a good hint:
> 
> /usr/pkg/lib/pkgconfig/libsodium.pc says:
>   Libs: -Wl,-R${libdir} -L${libdir} -lsodium
> 
> The equivalent on a Fedora box says:
>   Libs: -L${libdir} -lsodium

Hey Hal,

If we use check_cfg() in waf instead of check_cc(), then it should use 
pkg-config to read these files and correctly set LDFLAGS.  I'll take a look 
over the weekend unless someone else gets to it first.

Thanks,
-Matt
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to