summaryrefslogtreecommitdiffstats
path: root/package/python-networkmanager/python-networkmanager.hash
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-23 15:58:07 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-11-26 19:08:57 +0100
commiteeb6341410b5168f97d4ed747c9537244477ec42 (patch)
tree7f529c18ea80cd8fe2eca428b7a57626bb0a8da9 /package/python-networkmanager/python-networkmanager.hash
parent11e8c900ff085f3f9aad462f0369be5f801e1668 (diff)
downloadbuildroot-eeb6341410b5168f97d4ed747c9537244477ec42.tar.gz
buildroot-eeb6341410b5168f97d4ed747c9537244477ec42.zip
support/scripts/check-host-rpath: split condition on two statements
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@bootlin.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-networkmanager/python-networkmanager.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud