replace: Link to -lbsd when building replace.c by hand
authorAndrew Bartlett <abartlet@samba.org>
Sat, 14 Oct 2017 09:38:18 +0000 (22:38 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:20 +0000 (04:05 +0200)
commit593dacd274a22583cac4e091a08bf2ded0ae9703
tree9292eea9939a6b9b1f33a8fe1082f87ec1b6ad52
parent9c207adbe9cf2487231956dedfbd338820cf4027
replace: Link to -lbsd when building replace.c by hand

This ensures that we correctly detect HAVE_IFACE_GETIFADDRS
et al, which are based on a "build the source" style test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13087

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/replace/wscript