summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 17:31:40 +0200
committerGünther Deschner <gd@samba.org>2010-08-25 23:03:07 +0200
commitad855c0970c939da7bfe719a4707cf7f39eff330 (patch)
treee38fea7ad7d53d4fe14383a1dab9f2f866a83db6
parent2af95fc88b95e0c251ef6df8084ac55ad73ade1a (diff)
downloadsamba-ad855c0970c939da7bfe719a4707cf7f39eff330.tar.gz
samba-ad855c0970c939da7bfe719a4707cf7f39eff330.tar.bz2
samba-ad855c0970c939da7bfe719a4707cf7f39eff330.zip
s3-waf: only link in winreg client code where needed.
Guenther
-rw-r--r--source3/wscript_build7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 51a88e22c8..5d6e9d2a04 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -79,6 +79,10 @@ LIBCLI_EVENTLOG_SRC = '''
librpc/gen_ndr/cli_eventlog.c
librpc/gen_ndr/ndr_eventlog_c.c'''
+LIBCLI_WINREG_SRC = '''
+ librpc/gen_ndr/cli_winreg.c
+ librpc/gen_ndr/ndr_winreg_c.c'''
+
LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
${LIBNDR_GEN_SRC0}
../librpc/gen_ndr/ndr_dfs.c
@@ -307,7 +311,6 @@ DCERPC_CLIENT_GEN_SRC = '''
../librpc/gen_ndr/ndr_echo_c.c
../librpc/gen_ndr/ndr_srvsvc_c.c
../librpc/gen_ndr/ndr_svcctl_c.c
- ../librpc/gen_ndr/ndr_winreg_c.c
../librpc/gen_ndr/ndr_initshutdown_c.c
../librpc/gen_ndr/ndr_wkssvc_c.c
../librpc/gen_ndr/ndr_netlogon_c.c
@@ -322,7 +325,6 @@ LIBMSRPC_GEN_SRC = '''../librpc/gen_ndr/cli_lsa.c
../librpc/gen_ndr/cli_echo.c
../librpc/gen_ndr/cli_srvsvc.c
../librpc/gen_ndr/cli_svcctl.c
- ../librpc/gen_ndr/cli_winreg.c
../librpc/gen_ndr/cli_initshutdown.c
../librpc/gen_ndr/cli_wkssvc.c
../librpc/gen_ndr/cli_netlogon.c
@@ -771,6 +773,7 @@ SMBD_SRC_BASE = '''${SMBD_SRC_SRV}
${RPC_SPOOLSS_SRC} ${RPC_EVENTLOG_SRC}
${RPC_ECHO_SRC}
${LIBCLI_SPOOLSS_SRC}
+ ${LIBCLI_WINREG_SRC}
${AUTH_SRC}
${PRIVILEGES_BASIC_SRC}'''