summaryrefslogtreecommitdiff
path: root/source4/rpc_server/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-21 17:12:31 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-21 19:03:27 +1100
commit56640a8501625d29745269fcddc1980c6b751a2a (patch)
tree542598bd28bfe0293bf587eddfd3ab08e9a8816b /source4/rpc_server/wscript_build
parent1748d10e47c1000c56594a103c35b7962b5a5da2 (diff)
downloadsamba-56640a8501625d29745269fcddc1980c6b751a2a.tar.gz
samba-56640a8501625d29745269fcddc1980c6b751a2a.tar.bz2
samba-56640a8501625d29745269fcddc1980c6b751a2a.zip
s4-rpc_server: split out DCERPC_SHARE as a separate subsystem
this avoids a problem with -Wl,-no-undefined in the ntvfs layer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/rpc_server/wscript_build')
-rw-r--r--source4/rpc_server/wscript_build10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index a041003f5e..4fcdcef0c6 100644
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -1,11 +1,17 @@
#!/usr/bin/env python
+bld.SAMBA_SUBSYSTEM('DCERPC_SHARE',
+ source='common/server_info.c common/share_info.c',
+ autoproto='common/share.h',
+ deps='ldb'
+ )
+
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
- source='common/server_info.c common/share_info.c common/forward.c',
+ source='common/forward.c',
autoproto='common/proto.h',
public_headers='common/common.h',
header_path='dcerpc_server',
- deps='ldb dcerpc_server'
+ deps='ldb DCERPC_SHARE'
)