From 9ccb868591b2e4757c9d24fb25899810ebab6285 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Feb 2011 10:22:45 +1100 Subject: build: fixed make install for top level build --- source4/dynconfig/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index ca664fbe6e..c90bf1f4fc 100644 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -139,9 +139,10 @@ 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='../version.h', + public_headers='%s/version.h' % relpath, header_path='samba', cflags=cflags) -- cgit