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:
parent
e4a54a4c49
commit
76341196b5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user