mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.
Patch by Tobias Grosser! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -42,5 +42,5 @@ add_llvm_library(LLVMSystem
|
||||
)
|
||||
|
||||
if( BUILD_SHARED_LIBS AND NOT WIN32 )
|
||||
target_link_libraries(LLVMSystem dl)
|
||||
target_link_libraries(LLVMSystem ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user