Fix the -DBUILD_SHARED_LIBS=ON build.

llvm-svn: 241608
This commit is contained in:
Rafael Espindola 2015-07-07 17:48:00 +00:00
parent 7a503facdf
commit 99d294ee9a
4 changed files with 9 additions and 2 deletions

View File

@ -3,4 +3,6 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )
add_llvm_library(LLVMIntelJITEvents
IntelJITEventListener.cpp
jitprofiling.c
)
LINK_LIBS pthread ${CMAKE_DL_LIBS}
)

View File

@ -21,4 +21,4 @@
type = OptionalLibrary
name = IntelJITEvents
parent = ExecutionEngine
required_libraries = Core DebugInfoDWARF Support
required_libraries = Core DebugInfoDWARF Support Object ExecutionEngine

View File

@ -21,3 +21,4 @@
type = OptionalLibrary
name = OProfileJIT
parent = ExecutionEngine
required_libraries = Support Object ExecutionEngine

View File

@ -14,6 +14,10 @@ set(LLVM_LINK_COMPONENTS
nativecodegen
object
selectiondag
Support
ExecutionEngine
RuntimeDyld
Core
)
add_llvm_tool(llvm-jitlistener