From 6decfa742f7f567c74790c8bd6228d03efde4362 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 21 Aug 2011 16:38:01 -0700 Subject: Makefile: allow gtest to be linked in statically Use UNITTEST_STATIC_LDADD instead of UNITTEST_LDADD. Signed-off-by: Sage Weil --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4e3386b1ecb..91304f28ecb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ all-local: if WITH_DEBUG # We need gtest to build the rados-api tests. We only build those in # a debug build, though. - @cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la + @cd src/gtest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la lib/libgtest.a lib/libgtest_main.a endif check-local: -- cgit v1.2.1