Explicitly add -Wl,--export-all-symbols on mingw/cygwin.

Looks like cmake on windows is not expanding ENABLE_EXPORTS to
-Wl,--export-all-symbols on mingw or cygwin, so add this back.

llvm-svn: 178730
This commit is contained in:
Rafael Espindola 2013-04-04 01:19:55 +00:00
parent bf8dcf15ed
commit f0937372e8

View File

@ -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)