diff options
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r-- | meta/classes/libc-package.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 440218fcae..4acf91a1ff 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -40,7 +40,9 @@ python __anonymous () { | |||
40 | OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}" | 40 | OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}" |
41 | 41 | ||
42 | do_configure_prepend() { | 42 | do_configure_prepend() { |
43 | sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in | 43 | if [ -e ${S}/elf/ldd.bash.in ]; then |
44 | sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in | ||
45 | fi | ||
44 | } | 46 | } |
45 | 47 | ||
46 | 48 | ||