From: Garming Sam Date: Wed, 5 Feb 2014 04:18:23 +0000 (+1300) Subject: gpo: fix the building of gpext to only once X-Git-Tag: talloc-2.1.11~456 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78fd02cf31dfe72d596030f342aebefba1e72263;p=thirdparty%2Fsamba.git gpo: fix the building of gpext to only once Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- diff --git a/libgpo/wscript_build b/libgpo/wscript_build index 598cfcb327c..7d1d32628f0 100644 --- a/libgpo/wscript_build +++ b/libgpo/wscript_build @@ -1,13 +1,12 @@ #!/usr/bin/env python -LIBGPO_SRC = '''gpo_ldap.c gpo_ini.c gpo_util.c gpo_fetch.c gpo_filesync.c - gpo_sec.c gpo_reg.c gpext/gpext.c''' - -bld.SAMBA3_LIBRARY('gpo', - source='${LIBGPO_SRC}', +bld.SAMBA3_LIBRARY('gpext', + source='''gpext/gpext.c gpo_util.c gpo_ldap.c gpo_ini.c + gpo_fetch.c gpo_filesync.c + gpo_sec.c gpo_reg.c''', deps='talloc ads TOKEN_UTIL auth', - vars=locals(), private_library=True) + bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c', - deps='pyparam_util gpo talloc ads TOKEN_UTIL auth', + deps='pyparam_util gpext talloc ads TOKEN_UTIL auth', realname='samba/gpo.so') diff --git a/source3/libgpo/gpext/wscript_build b/source3/libgpo/gpext/wscript_build index 3a120a5aff0..365b4203f91 100644 --- a/source3/libgpo/gpext/wscript_build +++ b/source3/libgpo/gpext/wscript_build @@ -1,9 +1,5 @@ #!/usr/bin/env python -bld.SAMBA3_SUBSYSTEM('gpext', - source='../../../libgpo/gpext/gpext.c', - deps='samba-util samba3core gpo') - bld.SAMBA3_MODULE('gpext_registry', subsystem='gpext', source='registry.c', diff --git a/source3/utils/wscript_build b/source3/utils/wscript_build index 8d3378f0f0d..04eaf077f67 100644 --- a/source3/utils/wscript_build +++ b/source3/utils/wscript_build @@ -223,7 +223,7 @@ bld.SAMBA3_BINARY('net', KRBCLIENT ndr-standard msrpc3 - gpo + gpext ads smbd_base LIBADS_SERVER