diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-02-26 09:17:13 +0000 |
---|---|---|
committer | Morph (on behalf of Adam Coldrick) <adam.coldrick@codethink.co.uk> | 2015-02-26 09:17:13 +0000 |
commit | 212d7e801320a0b73370cdc2c1fa3ed92d8c9106 (patch) | |
tree | 40011083b5c39655defe4e900e07eed87e9aa373 /sdk.write | |
parent | 2e9bc6da27cf382782ba98cf5f095ba0eb5bb044 (diff) | |
download | definitions-212d7e801320a0b73370cdc2c1fa3ed92d8c9106.tar.gz |
Morph build 620e4e6dd8e242abafdbaeea45ac464e
System branch: master
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" \ |