s4-waf: removed the dependency loop between ntvfs and dcerpc_server
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 04:27:50 +0000 (15:27 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:26 +0000 (19:03 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/ntvfs/wscript_build

index 1dd67216d3fbdc491bfa4b5da239e1b2b6bf9838..48810f5dd3a7fb1a9012386311b5ae9a7098b13d 100644 (file)
@@ -49,7 +49,7 @@ bld.SAMBA_MODULE('ntvfs_ipc',
        autoproto='ipc/proto.h',
        subsystem='ntvfs',
        init_function='ntvfs_ipc_init',
-       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS DCERPC_COMMON'
+       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS'
        )
 
 
@@ -60,8 +60,10 @@ bld.SAMBA_MODULE('ntvfs_nbench',
        )
 
 
-bld.SAMBA_SUBSYSTEM('ntvfs',
-       source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
-       autoproto='ntvfs_proto.h'
-       )
+bld.SAMBA_LIBRARY('ntvfs',
+                  source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
+                  autoproto='ntvfs_proto.h',
+                  deps='tevent',
+                  private_library=True
+                  )