1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r10443: Fix emitter for NdrMarshaller tool.

This commit is contained in:
Tim Potter 2005-09-23 06:39:34 +00:00 committed by Gerald (Jerry) Carter
parent e4a54a4c49
commit 76341196b5

View File

@ -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