summaryrefslogtreecommitdiff
path: root/packaging/RHEL/makerpms.git.sh
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-10-16 15:17:18 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-25 11:55:14 +1300
commit64f5e24100a764ec198cab9a8d2c43fa86e7027c (patch)
treee7f6c65591676871abb88ab78e9cbd626726327e /packaging/RHEL/makerpms.git.sh
parentd3aee80928dc7ccde9441309bf946c2503f7714a (diff)
downloadsamba-64f5e24100a764ec198cab9a8d2c43fa86e7027c.tar.gz
samba-64f5e24100a764ec198cab9a8d2c43fa86e7027c.tar.bz2
samba-64f5e24100a764ec198cab9a8d2c43fa86e7027c.zip
build: fix ordering problems with lib-provided and internal RPATHs
When a library or system (like cups) provides an RPATH, e.g. with -Wl,-R or -Wl,-rpath, this was added by waf to the LINKFLAGS, wich was later prepended to our RPATH. But if the path by chance contains an older version of one of our internal libraries like talloc, this would lead to linking the too old talloc into our binaries. This has been observed on, e.g., FreeBSD, but it is a general problem. This patch fixes the problem by specially parsing the RPATH linker options from the pkg-config(, cups-config, ....) output and putting the paths into the RPATH_<lib> container, which is then later correctly appended to our internal RPATH. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'packaging/RHEL/makerpms.git.sh')
0 files changed, 0 insertions, 0 deletions