scripts: bundle-libraries: fix logic flaw
authorJo-Philipp Wich <jo@mein.io>
Wed, 29 Aug 2018 11:16:34 +0000 (13:16 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 30 Aug 2018 09:32:16 +0000 (11:32 +0200)
commit3315558870e1b7f8586c2726531e5c98c35093cb
treec488f771fe4cf8c7dbbd6b1dae5e0c4a47ffa718
parent686c6c5ca7f2a422da08552b8dc872f5012143b6
scripts: bundle-libraries: fix logic flaw

Previous refactoring of the script moved the LDSO detection into a
file-not-exists condition, causing onyl the very first executable to
get bundled.

Solve the problem by unconditionally checking for LDSO again.

Fixes: 9030a78a71 ("scripts: bundle-libraries: prevent loading host locales")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5ebcd32997b6d10abcd29c8795a598fdcaf4521d)
scripts/bundle-libraries.sh