summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/gtest.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gtest.m4 b/m4/gtest.m4
index ebb488a8..b015ddeb 100644
--- a/m4/gtest.m4
+++ b/m4/gtest.m4
@@ -45,7 +45,7 @@ AS_IF([test "x$enable_gtest" != "xno"],
[GTEST_CPPFLAGS=$($GTEST_CONFIG --cppflags)
GTEST_CXXFLAGS=$($GTEST_CONFIG --cxxflags)
GTEST_LDFLAGS=$($GTEST_CONFIG --ldflags)
- GTEST_LIBS=$($GTEST_CONFIG --libs)
+ GTEST_LIBS=$($GTEST_CONFIG --libs | sed 's/la/a/')
GTEST_VERSION=$($GTEST_CONFIG --version)
AC_DEFINE([HAVE_GTEST],[1],[Defined when Google Test is available.])],
[AS_IF([test "x$enable_gtest" = "xyes"],