summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2018-06-08 16:13:22 +0200
committerBjoern Jacke <bjacke@samba.org>2019-01-28 15:44:18 +0100
commit7d42029ff79358684c1bfc51bde3cbd31ed840bd (patch)
tree749f701908512aecfe6dfe3039f4ef80693baa67 /libgpo
parent7abf1d03394fb7a97b2f8ca58c95ab1916c7583f (diff)
downloadsamba-7d42029ff79358684c1bfc51bde3cbd31ed840bd.tar.gz
utils:libgpo: re-add libgpo as library, it should not be part of gpext
It was initially removed in 78fd02cf31dfe72d596030f342aebefba1e72263 but is needed by the inf file parsing. Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/wscript_build15
1 files changed, 11 insertions, 4 deletions
diff --git a/libgpo/wscript_build b/libgpo/wscript_build
index 9fbff9d0974..6c412275958 100644
--- a/libgpo/wscript_build
+++ b/libgpo/wscript_build
@@ -1,10 +1,17 @@
#!/usr/bin/env python
-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''',
+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}',
deps='talloc ads TOKEN_UTIL auth',
+ vars=locals(),
+ private_library=True)
+
+bld.SAMBA3_LIBRARY('gpext',
+ source='''gpext/gpext.c''',
+ deps='talloc ads TOKEN_UTIL auth gpo',
private_library=True)
for env in bld.gen_python_environments():