summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript_build11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 07f144aefa..bdabb0e957 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -54,10 +54,6 @@ LIBCLI_SPOOLSS_SRC = '''
rpc_client/cli_spoolss.c
rpc_client/init_spoolss.c'''
-LIBCLI_EVENTLOG_SRC = '''
- ../librpc/gen_ndr/cli_eventlog.c
- ../librpc/gen_ndr/ndr_eventlog_c.c'''
-
LIBCLI_LSA_SRC = '''rpc_client/cli_lsarpc.c
rpc_client/init_lsa.c'''
@@ -579,7 +575,6 @@ RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}
${LIBCLI_SPOOLSS_SRC}
- ${LIBCLI_EVENTLOG_SRC}
rpc_client/init_netlogon.c
rpc_client/init_samr.c'''
@@ -1176,6 +1171,10 @@ bld.SAMBA_SUBSYSTEM('RPCCLI_NTSVCS',
source='../librpc/gen_ndr/cli_ntsvcs.c',
public_deps='RPC_NDR_NTSVCS')
+bld.SAMBA_SUBSYSTEM('RPCCLI_EVENTLOG',
+ source='../librpc/gen_ndr/cli_eventlog.c',
+ public_deps='RPC_NDR_EVENTLOG')
+
bld.SAMBA_SUBSYSTEM('LIBCLI_SAMR',
source=LIBCLI_SAMR_SRC,
deps='RPCCLI_SAMR')
@@ -1242,7 +1241,7 @@ bld.SAMBA_BINARY('rpcclient/rpcclient',
RPC_CLIENT_SCHANNEL
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON
RPCCLI_SRVSVC RPCCLI_WKSSVC RPCCLI_DSSETUP RPCCLI_DFS
- RPCCLI_DRSUAPI RPCCLI_NTSVCS
+ RPCCLI_DRSUAPI RPCCLI_NTSVCS RPCCLI_EVENTLOG
''',
vars=locals())