summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_conftests.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py
index af7e0c0481..742959db84 100644
--- a/buildtools/wafsamba/samba_conftests.py
+++ b/buildtools/wafsamba/samba_conftests.py
@@ -140,18 +140,13 @@ def CHECK_RPATH_SUPPORT(conf):
# compile the program
try:
bld.compile()
- except Utils.WafError:
- ret = Utils.ex_stack()
- else:
- ret = 0
+ except:
+ conf.check_message('rpath support', '', False)
+ return False
# chdir before returning
os.chdir(back)
- if ret:
- conf.log.write('command returned %r' % ret)
- conf.fatal(str(ret))
-
# path for execution
lastprog = o.link_task.outputs[0].abspath(env)