[oe-commits] Walter Goossens : uclibc.inc: Set +x on ${base_libdir} only if directory should exist.

git version control git at git.openembedded.org
Sun Nov 22 16:43:49 UTC 2009


Module: openembedded.git
Branch: likewise/nios2
Commit: 200ebadafb7692d267e04cfdbab4f27412ed1a3c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=200ebadafb7692d267e04cfdbab4f27412ed1a3c

Author: Walter Goossens <walter.goossens at axon.tv>
Date:   Sun Nov 22 15:48:37 2009 +0100

uclibc.inc: Set +x on ${base_libdir} only if directory should exist.

Signed-off-by: Leon Woestenberg <leon at sidebranch.com>

---

 recipes/uclibc/uclibc.inc |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc
index 88f62fa..08f0381 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}





More information about the Openembedded-commits mailing list