mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
193bb824e2
If the Samba build directory is outside its source directory, generation of nfs41acl_xdr.c by rpcgen leads to improper include paths to nfs41acl.h. This happens because rpcgen is designed to produce its generated file in the same directory as the input template. If the build directory is not located under the source directory, this relative path will be invalid and the header will not be found. Example: src dir is ~/samba-src bld dir is ~/samba-bld rpcgen will use path ../../samba-src/source3/modules/nfs41acl.x running from ~/samba-bld/default and nfs41acl_xdr.c will contain: #include "../../samba-src/source3/modules/nfs41acl.h" This behaviour is fixed through an intermediate copy of the input file to the build directory so that rpcgen receives the path as if located in src. Also now we avoid generation of nfs41acl_xdr.c when HAVE_RPC_XDR_H is not defined because it will not be used as part of the vfs_nfs4acl_xattr module. Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
auth | ||
build | ||
client | ||
exports | ||
groupdb | ||
include | ||
intl | ||
lib | ||
libads | ||
libgpo/gpext | ||
libnet | ||
librpc | ||
libsmb | ||
locale | ||
locking | ||
modules | ||
nmbd | ||
param | ||
passdb | ||
printing | ||
profile | ||
registry | ||
rpc_client | ||
rpc_server | ||
rpcclient | ||
script | ||
selftest | ||
services | ||
smbd | ||
torture | ||
utils | ||
web | ||
winbindd | ||
.clang_complete | ||
.dmallocrc | ||
.indent.pro | ||
Doxyfile | ||
mainpage.dox | ||
smbadduser.in | ||
wscript | ||
wscript_build | ||
wscript_configure_system_ncurses |