diff options
| author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-09-08 14:42:57 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2021-10-13 02:33:05 +0000 |
| commit | fc2347be4ed9a9083a56468ca5e43070059038c5 (patch) | |
| tree | c6c11db4e649934d6e9956373087b73dfe386962 /source3/wscript | |
| parent | 99ee7f3d89cce9b07b8ed3f55f7e8e67baed6ee1 (diff) | |
| download | samba-fc2347be4ed9a9083a56468ca5e43070059038c5.tar.gz | |
Fix detection of rpc/xdr.h on macOS
We need to include rpc/types.h first to include this header.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862
Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 13 02:33:05 UTC 2021 on sn-devel-184
Diffstat (limited to 'source3/wscript')
| -rw-r--r-- | source3/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript index 5662c588776..9a74b7d7f3f 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1852,7 +1852,7 @@ main() { conf.env.with_spotlight = True if not conf.CONFIG_SET('HAVE_RPC_XDR_H'): - conf.CHECK_HEADERS('rpc/xdr.h', lib='tirpc') + conf.CHECK_HEADERS('rpc/types.h rpc/xdr.h', together=True, lib='tirpc') if conf.CHECK_FUNCS_IN('nscd_flush_cache', 'nscd', headers='libnscd.h'): conf.DEFINE('HAVE_NSCD_FLUSH_CACHE', '1') |
