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-22 17:42:29 +0100
commit200ebadafb7692d267e04cfdbab4f27412ed1a3c (patch)
tree0c9a2bbfeced7102177b6a6d8c9b43dbe8fb2100
parent1fcbd787b813b7537b2e06b49f60a410e662e2ce (diff)
downloadopenembedded-200ebadafb7692d267e04cfdbab4f27412ed1a3c.tar.gz
openembedded-200ebadafb7692d267e04cfdbab4f27412ed1a3c.tar.bz2
openembedded-200ebadafb7692d267e04cfdbab4f27412ed1a3c.zip
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.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc
index 88f62fa557..08f0381a8f 100644
--- a/recipes/uclibc/uclibc.inc
+++ b/recipes/uclibc/uclibc.inc
@@ -211,9 +211,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
if [ "${bindir}" != "/usr/bin" ]; then
install -d ${D}${bindir}