build: list source of subsystem AVAHI directly in its definition.
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 05:38:45 +0000 (07:38 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:22:10 +0000 (20:22 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 38ea41ec25ef95fb83ec17c9614359eeac5080c7..9276eb312b76feb27a251e5ec293d7bbf2993bd2 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-AVAHI_SRC = 'lib/avahi.c smbd/avahi_register.c'
-
 SERVER_MUTEX_SRC = 'lib/server_mutex.c'
 
 PASSCHANGE_SRC = '''libsmb/passchange.c'''
@@ -521,7 +519,7 @@ bld.SAMBA3_LIBRARY('gpo',
                    private_library=True)
 
 bld.SAMBA3_SUBSYSTEM('AVAHI',
-                    source=AVAHI_SRC,
+                    source='lib/avahi.c smbd/avahi_register.c',
                     deps='avahi-common avahi-client',
                     enabled=bld.env.with_avahi)