diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-04 10:22:45 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-07 13:22:01 +1100 |
commit | 9ccb868591b2e4757c9d24fb25899810ebab6285 (patch) | |
tree | 484cea2eb48b3395957fdc9f2df7c921a877fe0b /source4/dynconfig/wscript | |
parent | 9eaca88a354e622bbef0d79b4996831494f02ff1 (diff) | |
download | samba-9ccb868591b2e4757c9d24fb25899810ebab6285.tar.gz samba-9ccb868591b2e4757c9d24fb25899810ebab6285.tar.bz2 samba-9ccb868591b2e4757c9d24fb25899810ebab6285.zip |
build: fixed make install for top level build
Diffstat (limited to 'source4/dynconfig/wscript')
-rw-r--r-- | source4/dynconfig/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
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) |