oss-fuzz: standardise on RPATH for the static-ish binaries
authorAndrew Bartlett <abartlet@samba.org>
Thu, 22 Oct 2020 02:39:50 +0000 (15:39 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 22 Oct 2020 14:10:04 +0000 (14:10 +0000)
commitc03a265030fefb1652469ff98a8b895b8f61b771
tree61ec767c9df21fbe4783025c8cdba7da34409163
parent048725080b608d0d714f133a15e09dda6b6dd8ca
oss-fuzz: standardise on RPATH for the static-ish binaries

This includes a revert of commit e60df214998afc145ca482cab184691b3ddc3bb2.

We strictly require RPATH, not the modern RUNPATH for the behaviour
we need in oss-fuzz, which is that not just the first line of dependencies
but the full set of libraries used by the program are looked for in the
'$ORIGIN/lib' directory.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Oct 22 14:10:04 UTC 2020 on sn-devel-184
lib/fuzzing/oss-fuzz/build_samba.sh
lib/fuzzing/oss-fuzz/check_build.sh
script/autobuild.py