summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
index ac45d2e24b9..ef37026dfc9 100644
--- a/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
+++ b/llvm/unittests/ExecutionEngine/JIT/CMakeLists.txt
@@ -52,4 +52,7 @@ add_llvm_unittest(JITTests
${JITTestsSources}
)
+if(MINGW OR CYGWIN)
+ set_property(TARGET JITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
+endif()
set_target_properties(JITTests PROPERTIES ENABLE_EXPORTS 1)
OpenPOWER on IntegriCloud