summaryrefslogtreecommitdiffstats
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-27 20:58:01 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-27 20:58:01 +0000
commite4172f48cc58bbad6a90325d14ce2497e1aa3c6c (patch)
treec5a012bd6f5c10e1763f57e62592d90d4eb3b209 /unittests/Makefile.unittest
parent213cd61fa76c751026043ed2f017c82326047647 (diff)
downloadexternal_llvm-e4172f48cc58bbad6a90325d14ce2497e1aa3c6c.zip
external_llvm-e4172f48cc58bbad6a90325d14ce2497e1aa3c6c.tar.gz
external_llvm-e4172f48cc58bbad6a90325d14ce2497e1aa3c6c.tar.bz2
Link order: it matters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82925 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 355e6a3..214a1e8 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -25,7 +25,7 @@ LIBS += -lGoogleTest -lUnitTestMain
$(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) unit test $(TESTNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
- $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
+ $(LIBS) $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB)
$(Echo) ======= Finished Linking $(BuildMode) Unit test $(TESTNAME) \
$(StripWarnMsg)