summaryrefslogtreecommitdiff
path: root/source4/dynconfig
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-07 15:03:26 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 05:49:58 +0100
commit4d3de16b8b9e69408582ea9aa995b44b7a1e83f4 (patch)
tree4c85d1724ca30f95c989c4c3e9d32787801a45cd /source4/dynconfig
parent2e520ca91180920e4c8b71be4eaa7fabb56d2a12 (diff)
downloadsamba-4d3de16b8b9e69408582ea9aa995b44b7a1e83f4.tar.gz
samba-4d3de16b8b9e69408582ea9aa995b44b7a1e83f4.tar.bz2
samba-4d3de16b8b9e69408582ea9aa995b44b7a1e83f4.zip
s4-build: fixed uses of os.path.relpath()
these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/dynconfig')
-rw-r--r--source4/dynconfig/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index 6cebf7ee7f..50ae44f9ad 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import string, Utils, Options, sys, Build, os
-from samba_utils import EXPAND_VARIABLES
+from samba_utils import EXPAND_VARIABLES, os_path_relpath
# list of directory options to offer in configure
dir_options = {
@@ -145,6 +145,6 @@ def build(bld):
bld.SAMBA_SUBSYSTEM('DYNCONFIG',
'dynconfig.c',
deps='replace talloc',
- public_headers=os.path.relpath(os.path.join(Options.launch_dir, 'version.h'), bld.curdir),
+ public_headers=os_path_relpath(os.path.join(Options.launch_dir, 'version.h'), bld.curdir),
header_path='samba',
cflags=cflags)