gtest: install libgtest_main to staging
PATCH 1/1 gtest: install libgtest_main to staging
gtest provides a separate libgtest_main library with a default main() implementation for tests with basic needs.
This separate library isn't being installed by buildroot. This patch adds the installation of this library to staging during the install of gtest.
--- package/gtest/gtest.mk | 1 + 1 file changed, 1 insertion(+)
package/gtest/gtest.mk +1 -0
@@ -27,6 +27,7 @@ endef define GTEST_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/libgtest.a $(STAGING_DIR)/usr/lib/libgtest.a + $(INSTALL) -D -m 0755 $(@D)/libgtest_main.a $(STAGING_DIR)/usr/lib/libgtest_main.a $(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/gtest/ cp -rp $(@D)/include/gtest/* $(STAGING_DIR)/usr/include/gtest/ endef
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 1/1 gtest: install libgtest_main to staging
Dear erico.nunes,
Quoted 7 lines · erico.nunes
gtest provides a separate
libgtest_mainlibrary with a defaultmain()implementation for tests with basic needs.
This separate library isn't being installed by buildroot. This patch adds the installation of this library to staging during the install of gtest.Signed-off-by erico.nunes <[email protected]>
Thanks, applied. I only adjusted the Signed-off-by line and Author information to be a little bit nicer than "erico.nunes".
Can you fixup your Git configuration to have your name as "FirstName LastName" instead of "firstname.lastname".
I.e, your ~/.gitconfig should look like:
[user]
name = Erico Nunes
email = erico.nunes at datacom.ind.br
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com