[PATCH] waf: Fix the build on openbsd

Andrew Bartlett abartlet at samba.org
Fri Mar 6 03:33:13 MST 2015

On Mon, 2015-02-02 at 21:11 +0100, Volker Lendecke wrote:
> Hi!
> Review&push appreciated!
> Thanks,
> Volker


With current master, I can't build on OpenBSD.  I get
/usr/bin/ld: cannot find -lsmbconf
collect2: ld returned 1 exit status
Waf: Leaving directory `/home/abartlet/samba/bin'
Build failed:  -> task failed (err #1): 
        {task: cc_link version_test_213.o -> versiontest}
*** Error 1 in /home/abartlet/samba (Makefile:8 'all')

Is that the error you got when you built with this fix, or is this
something else?

(My background here is that I've been asked to review the patch to
migrate us to waf 1.8, and I certainly wouldn't want to be party to a
regression in this area)


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list