r10414: Fix building of proto.h
authorTim Potter <tpot@samba.org>
Thu, 22 Sep 2005 06:20:53 +0000 (06:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:42 +0000 (13:38 -0500)
source/build/scons/proto.py

index b3255fc7e8c5a5bbe839bb3c1ec1f27075833284..38fc2d6f48653338239bf1c1723c867aa556c4c8 100644 (file)
@@ -13,7 +13,7 @@ proto_builder = SCons.Builder.Builder(action='$PROTOCOM',
 
 def generate(env):
        env['MKPROTO']          = './script/mkproto.sh'
-       env['PROTOCOM']       = '$MKPROTO "$PERL" -h _PROTO_H_ ${TARGETS[0]} $SOURCE'
+       env['PROTOCOM']       = '$MKPROTO "$PERL" -h _PROTO_H_ ${TARGETS[0]} $SOURCES'
        env['BUILDERS']['CProtoHeader'] = proto_builder
 
 def exists(env):