summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2019-02-10 22:38:49 +0100
committerBjoern Jacke <bjacke@samba.org>2019-02-17 13:33:15 +0100
commitb8bf7ef87e29daa18b079d221ffa3252d1719f2a (patch)
tree40c5e2c504e5da42beaa872d45b69be0e244cb34 /source3/wscript
parent44ccba4088ff1b653dd4735ca8bf13181a31dbfe (diff)
downloadsamba-b8bf7ef87e29daa18b079d221ffa3252d1719f2a.tar.gz
waf: add library dependency for sendfile on Solaris
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index a7891a829a8..e0db9839795 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1252,6 +1252,8 @@ main() {
addmain=False,
execute=True)
+ conf.SET_TARGET_TYPE('sendfile', 'EMPTY')
+ conf.CHECK_LIB('sendfile')
if not Options.options.with_sendfile_support == False:
if (host_os.rfind('linux') > -1) or (host_os.rfind('gnu') > -1) or (host_os.rfind('k*bsd*-gnu') > -1) or (host_os.rfind('kopensolaris*-gnu') > -1):
conf.CHECK_CODE('''