All of lore.kernel.org
 help / color / mirror / Atom feed
* gmock install fix for 64bit architectures
@ 2016-09-29 14:54 Mateusz Nowakowski
  2016-09-29 17:04 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Mateusz Nowakowski @ 2016-09-29 14:54 UTC (permalink / raw)
  To: openembedded-core


[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]

Hi i found some bug in gmock receipe when target architecture is 64bit. I
attach simple fix

How to deploy this fix to jethro/kroghot and master branches ??



-- 
Pozdrawiam, Mateusz Nowakowski

[-- Attachment #1.2: Type: text/html, Size: 403 bytes --]

[-- Attachment #2: gmock.patch --]
[-- Type: text/x-patch, Size: 1773 bytes --]

diff --git a/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch b/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
index 92a6393..0dac998 100644
--- a/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
+++ b/meta-oe/recipes-test/gmock/gmock/cmake-Add-install-command-for-libraries-and-headers.patch
@@ -29,8 +29,8 @@ index 572d044..90e797a 100644
              src/gmock_main.cc)
  
 +
-+install(TARGETS gmock DESTINATION lib)
-+install(TARGETS gmock_main DESTINATION lib)
++install(TARGETS gmock DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install(TARGETS gmock_main DESTINATION ${CMAKE_INSTALL_LIBDIR})
 +
  ########################################################################
  #
diff --git a/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch b/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
index aa38fe4..8ffe1a6 100644
--- a/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
+++ b/meta-oe/recipes-test/gmock/gmock/cmake-gmock.pc.in-Add-pkg-config-support.patch
@@ -27,11 +27,11 @@ index 90e797a..98fd824 100644
  # Project-wide settings
 @@ -87,7 +90,9 @@ cxx_library(gmock_main
  
- install(TARGETS gmock DESTINATION lib)
- install(TARGETS gmock_main DESTINATION lib)
+ install(TARGETS gmock DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install(TARGETS gmock_main DESTINATION ${CMAKE_INSTALL_LIBDIR})
 -
 +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/gmock.pc"
-+    DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/"
++    DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/"
 +)  
  ########################################################################
  #

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: gmock install fix for 64bit architectures
  2016-09-29 14:54 gmock install fix for 64bit architectures Mateusz Nowakowski
@ 2016-09-29 17:04 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-09-29 17:04 UTC (permalink / raw)
  To: Mateusz Nowakowski; +Cc: Patches and discussions about the oe-core layer

On Thu, Sep 29, 2016 at 7:54 AM, Mateusz Nowakowski
<mateusz.cz.nowakowski@gmail.com> wrote:
> Hi i found some bug in gmock receipe when target architecture is 64bit. I
> attach simple fix
>
> How to deploy this fix to jethro/kroghot and master branches ??
>


Please send a patch as per
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

>
>
> --
> Pozdrawiam, Mateusz Nowakowski
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-29 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-29 14:54 gmock install fix for 64bit architectures Mateusz Nowakowski
2016-09-29 17:04 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.