summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-05 17:18:23 +1300
committerGarming Sam <garming@samba.org>2017-11-20 21:41:14 +0100
commit78fd02cf31dfe72d596030f342aebefba1e72263 (patch)
tree00c6d82fcb876f14376d0f47d4a3211de66a4a83 /libgpo
parent50a64b7ce95a353676669cfe4030b1451962ee6f (diff)
downloadsamba-78fd02cf31dfe72d596030f342aebefba1e72263.tar.gz
gpo: fix the building of gpext to only once
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/wscript_build13
1 files changed, 6 insertions, 7 deletions
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')