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