Fix the -DBUILD_SHARED_LIBS=ON build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-07-07 17:48:00 +00:00
parent ddc6f0a433
commit 51652580f4
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