aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libbacktrace
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libbacktrace
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libbacktrace')
-rw-r--r--vcpkg/ports/libbacktrace/portfile.cmake19
-rw-r--r--vcpkg/ports/libbacktrace/vcpkg.json8
2 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/libbacktrace/portfile.cmake b/vcpkg/ports/libbacktrace/portfile.cmake
new file mode 100644
index 0000000..247cff1
--- /dev/null
+++ b/vcpkg/ports/libbacktrace/portfile.cmake
@@ -0,0 +1,19 @@
+if(VCPKG_TARGET_IS_WINDOWS)
+ message("libbacktrace cannot be built using MSVC on Windows due to relying on the C++ unwind API https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html")
+endif()
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ianlancetaylor/libbacktrace
+ REF 1db85642e3fca189cf4e076f840a45d6934b2456
+ SHA512 a7f7a1233f551326e4ae1ba91db0fb905cf2737c20284c9aaf26cfe448b2a54efeaaa678e3abccbe0856c2a19019412208da7c1a82d319a58fe4d66d0a952aa0
+)
+
+vcpkg_configure_make(
+ SOURCE_PATH "${SOURCE_PATH}"
+ AUTOCONFIG
+)
+vcpkg_install_make()
+vcpkg_fixup_pkgconfig()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/libbacktrace/vcpkg.json b/vcpkg/ports/libbacktrace/vcpkg.json
new file mode 100644
index 0000000..3f9bcf9
--- /dev/null
+++ b/vcpkg/ports/libbacktrace/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "libbacktrace",
+ "version-date": "2024-11-30",
+ "description": "The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces.",
+ "homepage": "https://github.com/ianlancetaylor/libbacktrace",
+ "license": "BSD-3-Clause",
+ "supports": "!windows"
+}