diff options
author | Tim Potter <tpot@samba.org> | 2005-09-23 06:39:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:46 -0500 |
commit | 96f308481f4656d406cf70c07c994f5dbf9c9091 (patch) | |
tree | fbefbfe05b52e4abbeae388763fd031831b82f9d /source4/build/scons/pidl.py | |
parent | c715f7256a231cd8c561590c9830a813c6a4d15d (diff) | |
download | samba-96f308481f4656d406cf70c07c994f5dbf9c9091.tar.gz samba-96f308481f4656d406cf70c07c994f5dbf9c9091.tar.bz2 samba-96f308481f4656d406cf70c07c994f5dbf9c9091.zip |
r10443: Fix emitter for NdrMarshaller tool.
(This used to be commit 76341196b59fe6084dd7c4e1c5d9ef8f2a7e362d)
Diffstat (limited to 'source4/build/scons/pidl.py')
-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 |