[oe] [PATCH] cmake.bbclass: force CMAKE_INSTALL_SO_NO_EXE to be 0

Roman I Khimov khimov at altell.ru
Thu Apr 16 13:42:39 UTC 2009


By default cmake guesses whether install shared libaries with exec
permissions or not based on host distribution, so this behaviour
changes from host to host. OpenEmbedded assumes shared libraries to
be with exec permissions (reverse way brakes stripping, for example),
so let's force this in cmake configure invocation.
---
 classes/cmake.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index b5b7b86..b45ba78 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -21,6 +21,7 @@ cmake_do_configure() {
   cmake ${OECMAKE_SOURCEPATH} \
     -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
     -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} \
+    -DCMAKE_INSTALL_SO_NO_EXE=0 \
     ${EXTRA_OECMAKE} \
     -Wno-dev
 }
-- 
1.6.2.1


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Openembedded-devel mailing list