summaryrefslogtreecommitdiffstats
path: root/unittests/ExecutionEngine/JIT/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ExecutionEngine/JIT/CMakeLists.txt')
-rw-r--r--unittests/ExecutionEngine/JIT/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/ExecutionEngine/JIT/CMakeLists.txt b/unittests/ExecutionEngine/JIT/CMakeLists.txt
index ac45d2e..ef37026 100644
--- a/unittests/ExecutionEngine/JIT/CMakeLists.txt
+++ b/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)