$NetBSD: patch-tools_lli_Makefile,v 1.1 2015/03/03 16:27:33 tnn Exp $

Fix build with shlib option.

--- tools/lli/Makefile.orig	2014-09-02 22:28:02.000000000 +0000
+++ tools/lli/Makefile
@@ -15,6 +15,7 @@ PARALLEL_DIRS := ChildTarget
 include $(LEVEL)/Makefile.config
 
 LINK_COMPONENTS := mcjit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
+USEDLIBS += LLVMMCJIT.a
 
 # If Intel JIT Events support is confiured, link against the LLVM Intel JIT
 # Events interface library
