summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_conftests.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-27 09:46:07 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:08 +1000
commitcfeaed22c5974fc9fd0349a28283a5ca94238dfe (patch)
tree04ced75d1a991df03aa14bc36913aa90086810db /buildtools/wafsamba/samba_conftests.py
parenta247ce8ef96cc4a2990e71a6dd06f1bf48b13feb (diff)
downloadsamba-cfeaed22c5974fc9fd0349a28283a5ca94238dfe.tar.gz
samba-cfeaed22c5974fc9fd0349a28283a5ca94238dfe.tar.bz2
samba-cfeaed22c5974fc9fd0349a28283a5ca94238dfe.zip
build: these chdir() calls break waf on HPUX. They are not needed
Diffstat (limited to 'buildtools/wafsamba/samba_conftests.py')
-rw-r--r--buildtools/wafsamba/samba_conftests.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index ce86ce1221..8a9e3f5cd2 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -110,8 +110,6 @@ def CHECK_RPATH_SUPPORT(conf):
dest.write('int main(void) {return !(lib_func() == 42);}\n')
dest.close()
- back = os.path.abspath('.')
-
bld = Build.BuildContext()
bld.log = conf.log
bld.all_envs.update(conf.all_envs)
@@ -119,8 +117,6 @@ def CHECK_RPATH_SUPPORT(conf):
bld.lst_variants = bld.all_envs.keys()
bld.load_dirs(dir, bdir)
- os.chdir(dir)
-
bld.rescan(bld.srcnode)
bld(features='cc cshlib',
@@ -141,9 +137,6 @@ def CHECK_RPATH_SUPPORT(conf):
conf.check_message('rpath support', '', False)
return False
- # chdir before returning
- os.chdir(back)
-
# path for execution
lastprog = o.link_task.outputs[0].abspath(env)