diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-28 11:05:32 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-28 11:26:26 +0000 |
commit | 182ff3e47a2d18917cdf3344c2ce95bd0a460784 (patch) | |
tree | f5f072fa11b9024250be6382121bedd560b0eb66 /src/gallium/drivers/llvmpipe/lp_test_main.c | |
parent | 5eba607db6c50181bb12be5aee3735aafb40372e (diff) |
llvmpipe: Make sure the JIT engine and X86 target are linked on MSVC build.
Basically mimic the llvm 2.6 way of linking execution engines and
targets.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_main.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_main.c b/src/gallium/drivers/llvmpipe/lp_test_main.c index 82fada5a35..314544aa9a 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_main.c +++ b/src/gallium/drivers/llvmpipe/lp_test_main.c @@ -37,6 +37,7 @@ #include "util/u_cpu_detect.h" #include "lp_bld_const.h" +#include "lp_bld_misc.h" #include "lp_test.h" @@ -379,10 +380,8 @@ int main(int argc, char **argv) n = atoi(argv[i]); } -#ifdef LLVM_NATIVE_ARCH LLVMLinkInJIT(); LLVMInitializeNativeTarget(); -#endif util_cpu_detect(); |