diff options
author | Christof Schmitt <cs@samba.org> | 2023-03-01 16:43:14 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-03-03 01:07:37 +0000 |
commit | 1fa162a13b4853bb4efd16bf6a9b1e53e9503e2f (patch) | |
tree | da00da6a137d002524fa56d741ea5324d9f2d1ec /source3/librpc | |
parent | f2416493c0c779356606aebf0aceca8fa416b55c (diff) | |
download | samba-1fa162a13b4853bb4efd16bf6a9b1e53e9503e2f.tar.gz |
librpc: Fix compile error for libnet_join.idl
Fix this compile error:
[753/756] Processing source3/librpc/idl/libnet_join.idl
source3/librpc/idl/ads.idl:2:10: fatal error: config.h: No such file or directory
#include "config.h"
^~~~~~~~~~
compilation terminated.
source3/librpc/idl/libnet_join.idl:3: error: Failed to parse source3/librpc/idl/ads.idl
source3/librpc/idl/libnet_join.idl:50: warning: [out] argument `account_name' not a pointer
libnet_join.idl imports ads.idl which includes config.h. The build rule
for ads.idl provides the include directory for config.h, so add a new
rule to also specify that include directory for libnet_join.idl.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/idl/wscript_build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/librpc/idl/wscript_build b/source3/librpc/idl/wscript_build index f5ed8ae723e..28541d715b8 100644 --- a/source3/librpc/idl/wscript_build +++ b/source3/librpc/idl/wscript_build @@ -16,7 +16,6 @@ bld.SAMBA_PIDL_LIST('PIDL', bld.SAMBA_PIDL_LIST('PIDL', ''' libnetapi.idl - libnet_join.idl rpc_host.idl ''', options='--includedir=%s --header --ndr-parser' % topinclude, @@ -27,6 +26,14 @@ absinclude=os.path.join(bld.srcnode.abspath(), 'bin/default/include') bld.SAMBA_PIDL_LIST('PIDL', ''' + libnet_join.idl + ''', + options='--includedir=%s --includedir=%s --header --ndr-parser' % (topinclude, absinclude), + output_dir='../gen_ndr', + generate_tables=False) + +bld.SAMBA_PIDL_LIST('PIDL', + ''' ads.idl ''', options='--includedir=%s --includedir=%s --header --ndr-parser' % (topinclude, absinclude), |