diff options
-rw-r--r-- | source4/build/scons/pidl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/scons/pidl.py b/source4/build/scons/pidl.py index fbde72ddd5..eb9921b930 100644 --- a/source4/build/scons/pidl.py +++ b/source4/build/scons/pidl.py @@ -11,7 +11,7 @@ import SCons.Scanner idl_scanner = SCons.Scanner.ClassicCPP("PIDLScan", '.idl', 'CPPPATH', r'depends\(([^,]+),+\)', SCons.Node.FS.default_fs) def idl_emitter(target, source, env): - base, ext = SCons.Util.splitext(str(source[0])) + base, ext = SCons.Util.splitext(str(source[0]).split('/')[-1]) result = ['gen_ndr/ndr_%s.c' % base, 'gen_ndr/ndr_%s.h' % base] return result, source |