diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-02-20 15:32:48 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-02-20 15:32:48 +0000 |
commit | ef71b54fd294613f230697a2f74d39e507d03b23 (patch) | |
tree | 507d6cc2298f1860f3998c5674526291f6b4d6cf /sdk.write | |
parent | 35d4a972537728c56d6d3763cede5560c3a09405 (diff) | |
parent | efe5807433bb576bbba4312d2e3d150ed6f7e1a4 (diff) | |
download | definitions-ef71b54fd294613f230697a2f74d39e507d03b23.tar.gz |
Merge branch 'sam/sdk-update-v2'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'sdk.write')
-rwxr-xr-x | sdk.write | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -148,7 +148,7 @@ if [ "$#" != 1 ]; then exit 1 fi -TOOLCHAIN_PATH="$1" +TOOLCHAIN_PATH="$(readlink -f \"$1\")" sedescape(){ # Escape the passed in string so it can be safely interpolated into @@ -227,7 +227,7 @@ patch_elves(){ local linker="$4" local lib_path="$5" find "$root" \( -path "$inner_sysroot" -prune \) -o -type f \ - -type f -perm +111 \ + -type f -perm +u=x \ -exec sh -c 'file "$1" | grep -q "ELF"' - {} \; \ -exec "$linker" --library-path "$lib_path" \ "$patchelf" --set-interpreter "$linker" \ |