From 520668862af11d31e65b098f12cc69f3ceca585e Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Mon, 12 Mar 2012 09:28:10 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/cmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/cmake.bbclass') 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} ) set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) # add for non /usr/lib libdir, e.g. /usr/lib64 -set( CMAKE_LIBRARY_PATH ${libdir} ) +set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir}) EOF } -- cgit v1.2.3-54-g00ecf