summaryrefslogtreecommitdiff
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-02-26 07:44:16 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-02-26 07:44:16 +0000
commita15dc035a6d4153bece7a067e037e5d6f5d58b16 (patch)
tree2bd6f6a21ee44441efbb33c71c3b403863f6815c /unittests/Makefile.unittest
parent11398993d39c789292421508d7446f667939a0d5 (diff)
Remove libtool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r--unittests/Makefile.unittest4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 259e297cef7..5832d6ac1fd 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -21,11 +21,11 @@ include $(LEVEL)/Makefile.common
CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/
CPP.Flags += -Wno-variadic-macros
-LD.Flags += -lGoogleTest -lUnitTestMain
+LIBS += -lGoogleTest -lUnitTestMain
$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) unit test $(TESTNAME) $(StripWarnMsg)
- $(Verb) $(LTLink) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
+ $(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
$(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
$(Echo) ======= Finished Linking $(BuildMode) Unit test $(TESTNAME) \
$(StripWarnMsg)