summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/idl/wscript_build6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/librpc/idl/wscript_build b/source4/librpc/idl/wscript_build
index 4ad30385f5..aae98a2633 100644
--- a/source4/librpc/idl/wscript_build
+++ b/source4/librpc/idl/wscript_build
@@ -1,8 +1,12 @@
#!/usr/bin/env python
+import os
+
+topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')
+
bld.SAMBA_PIDL_LIST('PIDL',
source='''irpc.idl nfs4acl.idl s4_notify.idl ntp_signd.idl
opendb.idl sasl_helpers.idl server_id.idl winbind.idl
winsif.idl winsrepl.idl winstation.idl''',
- options="--includedir=../librpc/idl --header --ndr-parser --client --python --server",
+ options="--includedir=%s --header --ndr-parser --client --python --server" % topinclude,
output_dir='../gen_ndr')