summaryrefslogtreecommitdiff
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-15 23:35:08 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-15 23:35:08 +0000
commitbb53bbb7d4b1ac3da416d922101d4cbc280b145c (patch)
treed0c7fb837d32d11178cdad70695820c27683729d /unittests/Makefile.unittest
parent028700f544deeea423ce9b516e190e4e970e3c6c (diff)
build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile
library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 580ad7d7191..bd32aed4b0a 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -34,7 +34,7 @@ ifneq ($(HAVE_PTHREAD), 1)
CPP.Flags += -DGTEST_HAS_PTHREAD=0
endif
-TESTLIBS = -lGoogleTest -lUnitTestMain
+TESTLIBS = -lgtest -lgtest_main
ifeq ($(ENABLE_SHARED), 1)
ifneq (,$(RPATH))