summaryrefslogtreecommitdiff
path: root/source4/dynconfig
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-05 13:26:44 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:01 +1100
commit5364548e44cbe0726a4308e7ed346796ba17ffcb (patch)
tree33b87a0fc35ed7c0d57345e37917ba043fdb685c /source4/dynconfig
parent5d15f28fc11412ef736ff30c401fe034c7b34115 (diff)
downloadsamba-5364548e44cbe0726a4308e7ed346796ba17ffcb.tar.gz
samba-5364548e44cbe0726a4308e7ed346796ba17ffcb.tar.bz2
samba-5364548e44cbe0726a4308e7ed346796ba17ffcb.zip
s4-build: fixed install of version.h from source4 build
Diffstat (limited to 'source4/dynconfig')
-rw-r--r--source4/dynconfig/wscript3
1 files changed, 1 insertions, 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)