From a1e9df40f5c732310feb59dfb49aa95982b5b1bf Mon Sep 17 00:00:00 2001 From: Alexander Stocko Date: Wed, 3 Aug 2016 13:16:12 -0700 Subject: [PATCH] Add libfollytestmain.la to mallctl's LDADD Summary: Fixes make check problem for MallctlHelperTest. Previous make check output: MallctlHelperTest.o: In function `MallctlHelperTest_valid_read_Test::TestBody()': MallctlHelperTest.cpp:(.text+0x25): undefined reference to `testing::internal::AlwaysTrue()' MallctlHelperTest.cpp:(.text+0x2e): undefined reference to `testing::internal::AlwaysTrue()' MallctlHelperTest.cpp:(.text+0x51): undefined reference to `testing::Message::Message()' MallctlHelperTest.cpp:(.text+0x72): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)' MallctlHelperTest.cpp:(.text+0x85): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const' MallctlHelperTest.cpp:(.text+0x91): undefined reference to `testing::internal::AssertHelper::~AssertHelper()' MallctlHelperTest.cpp:(.text+0xe4): undefined reference to `testing::Message::Message()' MallctlHelperTest.cpp:(.text+0x111): undefined reference to `testing::inte Closes https://github.com/facebook/folly/pull/448 Reviewed By: yfeldblum Differential Revision: D3659427 Pulled By: Orvid fbshipit-source-id: c1445b881bbebdace4defc02024a5184fd821ed6 --- folly/test/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/folly/test/Makefile.am b/folly/test/Makefile.am index a7307e08..f478ab7e 100644 --- a/folly/test/Makefile.am +++ b/folly/test/Makefile.am @@ -290,6 +290,7 @@ ssl_test_LDADD = libfollytestmain.la -lcrypto TESTS += ssl_test mallctl_helper_test_SOURCES = MallctlHelperTest.cpp +mallctl_helper_test_LDADD = libfollytestmain.la TESTS += mallctl_helper_test check_PROGRAMS += $(TESTS) -- 2.34.1