1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

CMake: when bulding shared libraries on non-WIN32 systems, link dl to

LLVMSystem.

llvm-svn: 59159
This commit is contained in:
Oscar Fuentes 2008-11-12 20:40:56 +00:00
parent ca51d6183a
commit dc2008cb1a

View File

@ -12,3 +12,7 @@ add_llvm_library(LLVMSystem
Signals.cpp
TimeValue.cpp
)
if( BUILD_SHARED_LIBS AND NOT WIN32 )
target_link_libraries(LLVMSystem dl)
endif()