replace: Link to -lbsd when building replace.c by hand
commit9a5761ba01d314adba5e6e745e74496d70dffeac
authorAndrew Bartlett <abartlet@samba.org>
Sat, 14 Oct 2017 09:38:18 +0000 (14 22:38 +1300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Nov 2017 09:49:25 +0000 (1 10:49 +0100)
treed0ff62f463e9b268f192185d00e1f108a84681b1
parent62e9e06877e748e89aef2739a32140d11473f542
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>
(cherry picked from commit 593dacd274a22583cac4e091a08bf2ded0ae9703)
lib/replace/wscript