From 4a58393b2b4ebb8f7744ed367f14953f40d2e948 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 4 Apr 2018 09:53:14 +0100 Subject: wscript_build: make sure we link extra-python versions of libraries Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- source4/param/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/param') diff --git a/source4/param/wscript_build b/source4/param/wscript_build index 4a2b3b10be2..1066da4af51 100644 --- a/source4/param/wscript_build +++ b/source4/param/wscript_build @@ -39,6 +39,7 @@ bld.SAMBA_SUBSYSTEM('SECRETS', for env in bld.gen_python_environments(): pytalloc_util = bld.pyembed_libname('pytalloc-util') pyparam_util = bld.pyembed_libname('pyparam_util') + libpython = bld.pyembed_libname('LIBPYTHON') bld.SAMBA_PYTHON('pyparam', source='pyparam.c', @@ -48,7 +49,7 @@ for env in bld.gen_python_environments(): bld.SAMBA_SUBSYSTEM(pyparam_util, source='pyparam_util.c', - deps='LIBPYTHON samba-hostconfig %s' % pytalloc_util, + deps='%s samba-hostconfig %s' % (libpython, pytalloc_util), pyext=True, enabled=bld.PYTHON_BUILD_IS_ENABLED() ) -- cgit v1.2.1