mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +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:
@@ -12,3 +12,7 @@ add_llvm_library(LLVMSystem
|
|||||||
Signals.cpp
|
Signals.cpp
|
||||||
TimeValue.cpp
|
TimeValue.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if( BUILD_SHARED_LIBS AND NOT WIN32 )
|
||||||
|
target_link_libraries(LLVMSystem dl)
|
||||||
|
endif()
|
||||||
|
Reference in New Issue
Block a user