libsodium broken on NetBSD

Matthew Selsky Matthew.Selsky at twosigma.com
Fri Jan 20 16:51:46 UTC 2017


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


More information about the devel mailing list