diff options
author | Björn Jacke <bj@sernet.de> | 2019-02-10 22:38:49 +0100 |
---|---|---|
committer | Bjoern Jacke <bjacke@samba.org> | 2019-02-17 13:33:15 +0100 |
commit | b8bf7ef87e29daa18b079d221ffa3252d1719f2a (patch) | |
tree | 40c5e2c504e5da42beaa872d45b69be0e244cb34 /source3/wscript | |
parent | 44ccba4088ff1b653dd4735ca8bf13181a31dbfe (diff) | |
download | samba-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/wscript | 2 |
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(''' |