summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-17 15:42:50 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-09-17 15:44:53 (GMT)
commitb26687870dc920bd8cead733d780219268182075 (patch)
treecd644c955671b6d323f156634b51fb43cb0a2765 /src
parent3299da02ee942fb77ba8c7f7df62845680c17366 (diff)
downloadmxe-b26687870dc920bd8cead733d780219268182075.zip
mxe-b26687870dc920bd8cead733d780219268182075.tar.gz
mxe-b26687870dc920bd8cead733d780219268182075.tar.bz2
xz: Fix pkg-config
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/xz-1-fix-pkg-config.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/xz-1-fix-pkg-config.patch b/src/xz-1-fix-pkg-config.patch
new file mode 100644
index 0000000..7bc898c
--- /dev/null
+++ b/src/xz-1-fix-pkg-config.patch
@@ -0,0 +1,29 @@
+This file is part of MXE.
+See index.html for further information.
+
+This patch has been taken from:
+http://git.tukaani.org/?p=xz.git;a=commit;h=03ed742a3a4931bb5c821357832083b26f577b13
+
+From 03ed742a3a4931bb5c821357832083b26f577b13 Mon Sep 17 00:00:00 2001
+From: Lasse Collin <lasse.collin@tukaani.org>
+Date: Thu, 19 Apr 2012 14:02:25 +0300
+Subject: [PATCH] liblzma: Fix Libs.private in liblzma.pc to include -lrt when
+ needed.
+
+---
+ src/liblzma/liblzma.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/liblzma/liblzma.pc.in b/src/liblzma/liblzma.pc.in
+index 7f11f1a..9fa4891 100644
+--- a/src/liblzma/liblzma.pc.in
++++ b/src/liblzma/liblzma.pc.in
+@@ -16,4 +16,4 @@ URL: @PACKAGE_URL@
+ Version: @PACKAGE_VERSION@
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -llzma
+-Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
++Libs.private: @PTHREAD_CFLAGS@ @LIBS@
+--
+1.8.5.5
+