Fix link error on Travis Cl.

This commit is contained in:
kai
2012-10-17 08:39:41 +02:00
parent e7d5628370
commit 434d56b4db

View File

@@ -308,7 +308,7 @@ set_target_properties(
)
target_link_libraries(gen_gccbuiltins "${LLVM_LDFLAGS}" ${LLVM_LIBRARIES})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries(${LDC_LIB} dl)
target_link_libraries(gen_gccbuiltins dl)
endif()
# For use by the druntime/Phobos build system.