Patchwork [5/8] cmake.bbclass: add ${libdir}} for multilib case

login
register
mail settings
Submitter Richard Purdie
Date July 26, 2011, 9:53 p.m.
Message ID <43dd4a73eb628b27bd17708840b3092ee416747d.1311716946.git.richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/8613/
State New, archived
Headers show

Comments

Richard Purdie - July 26, 2011, 9:53 p.m.
From: Yu Ke <ke.yu@intel.com>

    Signed-off-by: Yu Ke <ke.yu@intel.com>
---
 meta/classes/cmake.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 5ac540c..89a154f 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
 }