summaryrefslogtreecommitdiff
path: root/classes/cmake.bbclass
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-08-27 08:48:20 +0400
committerRoman I Khimov <khimov@altell.ru>2010-03-21 14:41:56 +0300
commit7bf5690c6b60be1d1fe627f2bb405d7ac6548911 (patch)
tree6155f2d204aecffb7aad0fabb5b639c0e9b2cb68 /classes/cmake.bbclass
parent3452deb0d9428326474a78ec4d9efe1c1f544c77 (diff)
cmake.bbclass: force CMAKE_INSTALL_SO_NO_EXE to be 0
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. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Ash Charles <ashcharles@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/cmake.bbclass')
-rw-r--r--classes/cmake.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index f21c4d6545..706bddae5a 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:PATH=${STAGING_DIR_HOST} \
+ -DCMAKE_INSTALL_SO_NO_EXE=0 \
${EXTRA_OECMAKE} \
-Wno-dev
}