[Buildroot] [PATCH next v6 02/10] support/scripts/check-host-rpath: split condition on two statements
Peter Korsgaard
peter at korsgaard.com
Mon Nov 26 18:14:51 UTC 2018
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> Inside the check_elf_has_rpath(), we check if the host binary has a
> correct RPATH, which should be either an absolute path to
> $(HOST_DIR)/lib, or a relative path using $ORIGIN. Those two
> conditions are checked in a single statements, but as we are going to
> add a third condition, let's split this up a bit:
> - If we have a RPATH to $(HOST_DIR)/lib -> we're good, return 0
> - If we have a RPATH to $ORIGIN/../lib -> we're good, return 0
> - Otherwise, we will exit the loop, and return 1
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Committed to next, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list