Use llvm-config to determine what to link in
[oota-llvm.git] / examples / Fibonacci / Makefile
index b63777eb295eae02d3d67963eec1a154c1198b53..5010cb4b9787cde04446e7b75db925f8ca16502a 100644 (file)
@@ -11,7 +11,7 @@ LEVEL = ../..
 TOOLNAME = Fibonacci
 EXAMPLE_TOOL = 1
 
-# Enable JIT support
-LLVMLIBS := JIT
+# Link in JIT support
+LINK_COMPONENTS := jit interpreter native
 
 include $(LEVEL)/Makefile.common