clang-interpreter: libFrontend depends on libSerialization. Fix linux build by changing the link order.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112187 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index d31635a..73f28bb 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -1,8 +1,8 @@
 set(LLVM_NO_RTTI 1)
 
 set(LLVM_USED_LIBS
-    clangSerialization
     clangFrontend
+    clangSerialization
     clangDriver
     clangCodeGen
     clangSema
diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile
index c24cb3a..2f5e017 100644
--- a/examples/clang-interpreter/Makefile
+++ b/examples/clang-interpreter/Makefile
@@ -17,7 +17,7 @@
 
 LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
 	selectiondag asmparser
-USEDLIBS = clangSerialization.a clangFrontend.a clangDriver.a clangCodeGen.a \
+USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a \
            clangSema.a clangChecker.a clangAnalysis.a clangRewrite.a \
            clangAST.a clangParse.a clangLex.a clangBasic.a