From 8ad4a8b83f3de8b7b283a845c5744147ba819c9d Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sat, 14 Sep 2019 22:17:28 +1200 Subject: build/internals.sh: Handle pie executables Fixes: #887 On some systems the file command identifies a pie executable as a shared object. Update do_finish() to handle this case so that they are stripped as well. Signed-off-by: Chris Packham diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index 5d35997..821761c 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -83,7 +83,7 @@ do_finish() { case "${_type}" in *script*executable*) ;; - *executable*) + *executable*|*shared*object*) CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}" ;; esac -- cgit v0.10.2-6-g49f6