summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-07-24 21:40:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 15:44:46 +0100
commite198b72bc03c7545417944dcb3c930aaf2376488 (patch)
tree1df8ee17e8781138e92f8970fd824a2fac811640
parent4c43ea3440ecca02d2945b02017f56a8de9ff808 (diff)
downloadopenembedded-core-contrib-e198b72bc03c7545417944dcb3c930aaf2376488.tar.gz
openembedded-core-contrib-e198b72bc03c7545417944dcb3c930aaf2376488.tar.bz2
openembedded-core-contrib-e198b72bc03c7545417944dcb3c930aaf2376488.zip
cmake.bbclass: add ${libdir} for multilib case
Signed-off-by: Yu Ke <ke.yu@intel.com>
-rw-r--r--meta/classes/cmake.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 5ac540cfcc..89a154f73c 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -57,7 +57,7 @@ set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ )
# add for non /usr/lib libdir, e.g. /usr/lib64
-LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH ${libdir})
+set( CMAKE_LIBRARY_PATH ${libdir} )
EOF
}