mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Allow undefined symbols in shared library on OSX
This commit is contained in:
parent
b5b2ca72a2
commit
bc59300ecb
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ else ()
|
|||
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wno-unknown-pragmas -Wextra -DSHAREDLIB -fPIC")
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
|
||||
endif()
|
||||
|
||||
# LLVM
|
||||
if(LLVM_DIR) # local LLVM build
|
||||
find_package(LLVM REQUIRED CONFIG)
|
||||
|
|
|
|||
Loading…
Reference in a new issue