diff options
-rw-r--r-- | source4/dynconfig/wscript | 3 |
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) |