build: use the waf patterns for RPATH
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 May 2010 14:37:33 +0000 (16:37 +0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 3 May 2010 15:16:48 +0000 (17:16 +0200)
commit6d1e8c58350803f2c380a332c13edc4528faa417
treea7d9a6e99fe6bbb4815e53bd0afb2bf2f93b67e6
parent0003bb460bf25b894ddb0f864f22feaa25eb49e5
build: use the waf patterns for RPATH

Use the self.env.RPATH variable to set the RPATH for each target. This
gives consistent ordering of the link command, ensuring that we don't
get rebuilds if we ask for a --targets= build after a normal build.

This also means we are now using the RPATH_ST pattern, which means we
can potentially support compilers that don't use -Wl,xxx as the
command line for rpath support
buildtools/wafsamba/samba_install.py
buildtools/wafsamba/samba_utils.py