aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libunwind/liblzma.diff
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/libunwind/liblzma.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libunwind/liblzma.diff')
-rw-r--r--vcpkg/ports/libunwind/liblzma.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/libunwind/liblzma.diff b/vcpkg/ports/libunwind/liblzma.diff
new file mode 100644
index 0000000..1dc8142
--- /dev/null
+++ b/vcpkg/ports/libunwind/liblzma.diff
@@ -0,0 +1,30 @@
+diff --git a/configure.ac b/configure.ac
+index 82caaa7..a17b7a1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -443,9 +443,11 @@ AC_MSG_CHECKING([whether to support LZMA-compressed symbol tables])
+ AC_ARG_ENABLE(minidebuginfo,
+ AS_HELP_STRING([--enable-minidebuginfo], [Enables support for LZMA-compressed symbol tables]),, [enable_minidebuginfo=auto])
+ AC_MSG_RESULT([$enable_minidebuginfo])
++PKG_PROG_PKG_CONFIG
+ if test x$enable_minidebuginfo != xno; then
+- AC_CHECK_LIB([lzma], [lzma_mf_is_supported],
+- [LIBLZMA=-llzma
++ PKG_CHECK_MODULES([LZMA],[liblzma],
++ [LIBLZMA="$LZMA_LIBS"
++ CFLAGS="$CFLAGS $LZMA_CFLAGS"
+ AC_DEFINE([HAVE_LZMA], [1], [Define if you have liblzma])
+ enable_minidebuginfo=yes],
+ [if test x$enable_minidebuginfo = xyes; then
+diff --git a/src/unwind/libunwind.pc.in b/src/unwind/libunwind.pc.in
+index 9a65faf..bb351f7 100644
+--- a/src/unwind/libunwind.pc.in
++++ b/src/unwind/libunwind.pc.in
+@@ -7,5 +7,6 @@ Name: libunwind
+ Description: libunwind base library
+ Version: @VERSION@
+ Libs: -L${libdir} -lunwind
+-Libs.private: @LIBLZMA@ @LIBZ@
++Libs.private: @LIBZ@
++Requires.private: liblzma
+ Cflags: -I${includedir}