From: Erico Nunes Date: Tue, 20 Jan 2015 18:54:33 +0000 (-0200) Subject: gtest: install libgtest_main to staging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f846793386e1924c38b8926b0f74ee510001f97;p=buildroot.git 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. Signed-off-by: Erico Nunes Signed-off-by: Thomas Petazzoni --- diff --git a/package/gtest/gtest.mk b/package/gtest/gtest.mk index 3f3e8896d3..7129c939d3 100644 --- a/package/gtest/gtest.mk +++ b/package/gtest/gtest.mk @@ -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