[Lldb-commits] [lldb] r248007 - Link NetBSD with execinfo (CMAKE build)
Stephane Sezer via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 10:14:49 PDT 2015
Author: sas
Date: Fri Sep 18 12:14:49 2015
New Revision: 248007
URL: http://llvm.org/viewvc/llvm-project?rev=248007&view=rev
Log:
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 at gmx.com>
Modified:
lldb/trunk/cmake/LLDBDependencies.cmake
Modified: lldb/trunk/cmake/LLDBDependencies.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/LLDBDependencies.cmake?rev=248007&r1=248006&r2=248007&view=diff
==============================================================================
--- lldb/trunk/cmake/LLDBDependencies.cmake (original)
+++ lldb/trunk/cmake/LLDBDependencies.cmake Fri Sep 18 12:14:49 2015
@@ -147,8 +147,8 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windo
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()
More information about the lldb-commits
mailing list