summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/librpc/wscript_build5
-rw-r--r--source3/wscript_build5
2 files changed, 7 insertions, 3 deletions
diff --git a/source3/librpc/wscript_build b/source3/librpc/wscript_build
index dfeacf6343..66713ef297 100644
--- a/source3/librpc/wscript_build
+++ b/source3/librpc/wscript_build
@@ -30,6 +30,11 @@ bld.SAMBA_SUBSYSTEM('NDR_SECRETS',
public_deps='LIBNDR'
)
+bld.SAMBA_SUBSYSTEM('NDR_PERFCOUNT',
+ source='gen_ndr/ndr_perfcount.c',
+ public_deps='LIBNDR'
+ )
+
bld.SAMBA_SUBSYSTEM('NDR_WBINT',
source='gen_ndr/ndr_wbint.c',
public_deps='LIBNDR'
diff --git a/source3/wscript_build b/source3/wscript_build
index e42e84b000..c44485fffe 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -386,8 +386,7 @@ REG_FULL_SRC = '''${REG_SMBCONF_SRC}
${REG_BACKENDS_EXTRA_SRC}
${REG_INIT_FULL_SRC}
registry/reg_eventlog.c
- registry/reg_perfcount.c
- librpc/gen_ndr/ndr_perfcount.c'''
+ registry/reg_perfcount.c'''
SERVICES_SRC = '''services/svc_spoolss.c
services/svc_rcinit.c
@@ -1213,7 +1212,7 @@ bld.SAMBA_SUBSYSTEM('SMBD_BASE',
PARAM_WITHOUT_REG LIBS LIBSMB POPT_SAMBA KRBCLIENT AVAHI
LIBMSRPC_GEN LIBMSRPC LIBADS LIBADS_SERVER LIBADS_PRINTER
VFS RPC_MODULES AUTH LOCKING LIBAFS LIBAFS_SETTOKEN PROFILE LIBNET LIBEVENTLOG
- REGFIO REG_API_REGF PRINTING PRINTBACKEND SERVICES NDR_XATTR''',
+ REGFIO REG_API_REGF PRINTING PRINTBACKEND SERVICES NDR_XATTR NDR_PERFCOUNT''',
vars=locals())
bld.SAMBA_SUBSYSTEM('RPC_MODULES',