diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/idl/wscript_build | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/librpc/idl/wscript_build b/source3/librpc/idl/wscript_build index e24475b543..5a8dc31980 100644 --- a/source3/librpc/idl/wscript_build +++ b/source3/librpc/idl/wscript_build @@ -1,13 +1,16 @@ #!/usr/bin/env python +import os + +topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl') + bld.SAMBA_PIDL_LIST('PIDL', '''messaging.idl libnetapi.idl notify.idl perfcount.idl secrets.idl libnet_join.idl server_id.idl''', - options='--includedir=../librpc/idl --header --ndr-parser', + options='--includedir=%s --header --ndr-parser' % topinclude, output_dir='../gen_ndr') bld.SAMBA_PIDL_LIST('PIDL', 'wbint.idl', - options='--includedir=../librpc/idl --header --ndr-parser --samba3-ndr-server --client', + options='--includedir=%s --header --ndr-parser --samba3-ndr-server --client' % topinclude, output_dir='../gen_ndr') - |