summaryrefslogtreecommitdiff
path: root/scripts/build/internals.sh
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2019-09-14 10:17:28 (GMT)
committerChris Packham <judge.packham@gmail.com>2019-09-14 10:21:11 (GMT)
commit8ad4a8b83f3de8b7b283a845c5744147ba819c9d (patch)
treebceb5658aa6313fa06b374b75f4c4123ac161602 /scripts/build/internals.sh
parentafaf7b9a25b5d77991002936be5c47fc5ff549de (diff)
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 <judge.packham@gmail.com>
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r--scripts/build/internals.sh2
1 files changed, 1 insertions, 1 deletions
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