From 5364548e44cbe0726a4308e7ed346796ba17ffcb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 5 Feb 2011 13:26:44 +1100 Subject: s4-build: fixed install of version.h from source4 build --- source4/dynconfig/wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index c90bf1f4fc..0c5cf079d6 100644 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -139,10 +139,9 @@ Build.BuildContext.dynconfig_cflags = dynconfig_cflags def build(bld): cflags = bld.dynconfig_cflags() - relpath = os.path.relpath(bld.env.srcdir, bld.curdir) bld.SAMBA_SUBSYSTEM('DYNCONFIG', 'dynconfig.c', deps='replace talloc', - public_headers='%s/version.h' % relpath, + public_headers=os.path.relpath(os.path.join(Options.launch_dir, 'version.h'), bld.curdir), header_path='samba', cflags=cflags) -- cgit