mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
CMake: when bulding shared libraries on non-WIN32 systems, link dl to
LLVMSystem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e40db4a2f3
commit
bc8dda83ef
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user