From 1b63c78693ab5d244006769c1b41ff37d990d1b2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 10 Dec 2010 17:59:34 +1100 Subject: waf: the libXX.inst.so file also depends on the vscript this fixes a problem with installed libraries not relinking after a git version change Autobuild-User: Andrew Tridgell Autobuild-Date: Fri Dec 10 09:30:46 CET 2010 on sn-devel-104 --- buildtools/wafsamba/wafsamba.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index fb68531353..3cb97c0723 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -215,6 +215,10 @@ def SAMBA_LIBRARY(bld, libname, source, ldflags.append("-Wl,--version-script=%s/%s" % (bld.path.abspath(bld.env), vscript)) fullname = bld.env.shlib_PATTERN % bundled_name bld.add_manual_dependency(bld.path.find_or_declare(fullname), bld.path.find_or_declare(vscript)) + if Options.is_install: + # also make the .inst file depend on the vscript + instname = bld.env.shlib_PATTERN % (bundled_name + '.inst') + bld.add_manual_dependency(bld.path.find_or_declare(instname), bld.path.find_or_declare(vscript)) bld.SET_BUILD_GROUP(group) t = bld( -- cgit