diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-03-12 09:28:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-13 11:45:02 +0000 |
commit | 520668862af11d31e65b098f12cc69f3ceca585e (patch) | |
tree | b9b543b10974c2444148b4951f11985f204fa893 /meta/classes/cmake.bbclass | |
parent | bd2d8904181aa67258b6be8a7bbeaf8d12a8dd5a (diff) | |
download | poky-520668862af11d31e65b098f12cc69f3ceca585e.tar.gz |
cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH
Some libraries like libcrypto.so are installed at base_libdir
instead of libdir. So add the base_libdir to CMAKE_LIBRARY_PATH
so that these libraries can be found correctly.
This resolves an issues with libzypp, which was not finding the
libcrypo library correctly in an x32 build.
(From OE-Core rev: f47ada62a3da879006e7cb27479dc9b72c56e923)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cmake.bbclass')
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 8aec759872..dcd974ab2d 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -59,7 +59,7 @@ set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) | |||
59 | set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) | 59 | set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) |
60 | 60 | ||
61 | # add for non /usr/lib libdir, e.g. /usr/lib64 | 61 | # add for non /usr/lib libdir, e.g. /usr/lib64 |
62 | set( CMAKE_LIBRARY_PATH ${libdir} ) | 62 | set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir}) |
63 | 63 | ||
64 | EOF | 64 | EOF |
65 | } | 65 | } |