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 15:48:37 +0100
commitd7a1ec8b88b7e90692a676dd67c7475c6ab38e55 (patch)
tree8e20bc42e4f358d6114326287d07395a05910a81
parentf0e4328c5f88a3311b6dc3f9d82f66870c1277cc (diff)
downloadopenembedded-d7a1ec8b88b7e90692a676dd67c7475c6ab38e55.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.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}