summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-23 06:39:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:46 -0500
commit96f308481f4656d406cf70c07c994f5dbf9c9091 (patch)
treefbefbfe05b52e4abbeae388763fd031831b82f9d
parentc715f7256a231cd8c561590c9830a813c6a4d15d (diff)
downloadsamba-96f308481f4656d406cf70c07c994f5dbf9c9091.tar.gz
samba-96f308481f4656d406cf70c07c994f5dbf9c9091.tar.bz2
samba-96f308481f4656d406cf70c07c994f5dbf9c9091.zip
r10443: Fix emitter for NdrMarshaller tool.
(This used to be commit 76341196b59fe6084dd7c4e1c5d9ef8f2a7e362d)
-rw-r--r--source4/build/scons/pidl.py2
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