Skip to contentSkip to conversation

a bugfix for cmake.bblcass

PATCH Applied [email protected] 3 participants 4 messages Mar 12, 2012 – Mar 13, 2012

lore
Share & tools
lore
#0 lore raw

cover a bugfix for cmake.bblcass

From: Nitin A Kamble <[email protected]>

The following changes since commit c27b7aab3c37f182bf9acc5d459185f32fb195d0:

codeparser: Call intern over the set contents for better cache performance (2012-03-12 15:52:33 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/work
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/work

Nitin A Kamble (1):
cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH

 meta/classes/cmake.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6.4
#1 lore raw

PATCH 1/1 cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH

From: Nitin A Kamble <[email protected]>

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.

---
 meta/classes/cmake.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/cmake.bbclass +1 -1
index 8aec759..dcd974a 100644
@@ -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
 }
Signature · 1 line
1.7.6.4
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH 1/1] cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH

Quoted 35 lines · On Mon, Mar 12, 2012 at 13:28, <[email protected]> wrote:

From: Nitin A Kamble <[email protected]>

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.

---
 meta/classes/cmake.bbclass |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/cmake.bbclass +1 -1
index 8aec759..dcd974a 100644
@@ -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
 }
--
1.7.6.4

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
Applied
#3 lore raw
In reply to [email protected]
Quoted 10 lines · On 03/12/2012 09:28 AM, [email protected] wrote:

From: Nitin A Kamble<[email protected]>

The following changes since commit c27b7aab3c37f182bf9acc5d459185f32fb195d0:

codeparser: Call intern over the set contents for better cache performance (2012-03-12 15:52:33 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/work
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/work

Quoted 6 lines

Nitin A Kamble (1):

   cmake.bbclass: add ${base_libdir} to CMAKE_LIBRARY_PATH
  meta/classes/cmake.bbclass |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

Merged into OE-Core

Thanks
Sau!