diff options
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index b7ea85159c..29890e38c9 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -253,7 +253,7 @@ if [ "$dl_path" = "" ] ; then | |||
253 | echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" | 253 | echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" |
254 | exit 1 | 254 | exit 1 |
255 | fi | 255 | fi |
256 | executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111) | 256 | executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\)" | cut -f 1 -d ':') |
257 | 257 | ||
258 | tdir=`mktemp -d` | 258 | tdir=`mktemp -d` |
259 | if [ x$tdir = x ] ; then | 259 | if [ x$tdir = x ] ; then |