summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-04 10:22:45 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:01 +1100
commit9ccb868591b2e4757c9d24fb25899810ebab6285 (patch)
tree484cea2eb48b3395957fdc9f2df7c921a877fe0b
parent9eaca88a354e622bbef0d79b4996831494f02ff1 (diff)
downloadsamba-9ccb868591b2e4757c9d24fb25899810ebab6285.tar.gz
samba-9ccb868591b2e4757c9d24fb25899810ebab6285.tar.bz2
samba-9ccb868591b2e4757c9d24fb25899810ebab6285.zip
build: fixed make install for top level build
-rw-r--r--source4/dynconfig/wscript3
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)