aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Goossens <walter.goossens@axon.tv>2009-11-22 15:48:37 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-24 13:48:44 +0100
commitec6308c62f98271a10ca14baf55186caa269d78b (patch)
tree2e480f9da0400e4285c99ce4d24f5bbce95cc10c
parent9b6d35bcb94fd4f0786730adfcaec0e1a963565b (diff)
downloadopenembedded-ec6308c62f98271a10ca14baf55186caa269d78b.tar.gz
uclibc.inc: Set +x on ${base_libdir} only if directory should exist.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
-rw-r--r--recipes/uclibc/uclibc.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc
index 903aea27b9..56293d15ad 100644
--- a/recipes/uclibc/uclibc.inc
+++ b/recipes/uclibc/uclibc.inc
@@ -176,8 +176,10 @@ do_install() {
oe_runmake "SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE}" utils
oe_runmake STRIPTOOL=true PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
install_utils
-
- # oe_runstrip needs +x on files
- chmod +x ${D}/${base_libdir}/*
+
+ if [ "x$SHARED_LIBRARIESy" != "xnoy"; then
+ # oe_runstrip needs +x on files
+ chmod +x ${D}/${base_libdir}/*
+ fi
}