$NetBSD: patch-unittests_ExecutionEngine_MCJIT_Makefile,v 1.1 2015/03/04 19:34:27 tnn Exp $

Fix build with shared linkage.

--- unittests/ExecutionEngine/MCJIT/Makefile.orig	2014-02-20 23:57:31.000000000 +0000
+++ unittests/ExecutionEngine/MCJIT/Makefile
@@ -10,6 +10,7 @@
 LEVEL = ../../..
 TESTNAME = MCJIT
 LINK_COMPONENTS := core ipo jit mcjit native support
+USEDLIBS += LLVMMCJIT.a
 
 include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
