forked from OSchip/llvm-project
Link NetBSD with execinfo (CMAKE build)
Summary: FreeBSD and NetBSD share the same library execinfo. Reviewers: joerg, sas, brucem Subscribers: brucem, sas, lldb-commits Differential Revision: http://reviews.llvm.org/D12750 Change by Kamil Rytarowski <n54@gmx.com> llvm-svn: 248007
This commit is contained in:
parent
43ec15e57e
commit
0a484819ca
|
@ -147,8 +147,8 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__)
|
|||
endif()
|
||||
endif()
|
||||
endif()
|
||||
# On FreeBSD backtrace() is provided by libexecinfo, not libc.
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
# On FreeBSD/NetBSD backtrace() is provided by libexecinfo, not libc.
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||
list(APPEND LLDB_SYSTEM_LIBS execinfo)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue