summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 13:12:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:07 +1000
commiteb776a80b59ca20b58b9b4c832b70914263d278c (patch)
tree9570620e9e570ca9d8c9bab3735b4400703a5d53 /buildtools/wafsamba/samba_autoconf.py
parent5e94bca62e646fb4cc84a375f0c741dab4916abe (diff)
downloadsamba-eb776a80b59ca20b58b9b4c832b70914263d278c.tar.gz
samba-eb776a80b59ca20b58b9b4c832b70914263d278c.tar.bz2
samba-eb776a80b59ca20b58b9b4c832b70914263d278c.zip
build: much better rpath test function
This creates a full shared lib, and a binary that uses it. Then it tests that the binary runs correctly, relying on rpath Thanks to Thomas for the code for this!
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index ec069485da..bc888d557d 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -534,15 +534,6 @@ def CURRENT_CFLAGS(bld, target, cflags):
ret.extend(list)
return ret
-@conf
-def CHECK_RPATH_SUPPORT(conf):
- '''see if the system supports rpath'''
- return conf.CHECK_CODE('int x',
- define='HAVE_RPATH_SUPPORT',
- execute=True,
- local_include=False,
- msg='Checking for rpath support',
- cflags='-Wl,-rpath=.')
@conf
def CHECK_CC_ENV(conf):