aboutsummaryrefslogtreecommitdiff
path: root/package/lcms2
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2016-11-11 23:54:10 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-13 14:29:20 +0100
commit70030101e16d79683051ac04e206dc0cfba48f2a (patch)
treee348efb8ce36d5e814000ff9fc367e9223e2c713 /package/lcms2
parentde90e02c60d65f9bcef5a9b757a6b59473d37cc7 (diff)
downloadbuildroot-70030101e16d79683051ac04e206dc0cfba48f2a.tar.gz
buildroot-70030101e16d79683051ac04e206dc0cfba48f2a.tar.bz2
lcms2: fix lcms2.pc.in thread library dependency (for static linking)
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lcms2')
-rw-r--r--package/lcms2/0001-Fix-lcms2.pc.in-thread-library-dependency.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/lcms2/0001-Fix-lcms2.pc.in-thread-library-dependency.patch b/package/lcms2/0001-Fix-lcms2.pc.in-thread-library-dependency.patch
new file mode 100644
index 0000000000..f8c0d00d30
--- /dev/null
+++ b/package/lcms2/0001-Fix-lcms2.pc.in-thread-library-dependency.patch
@@ -0,0 +1,26 @@
+From 0b55fd4e0935a0231ca258fde631a95215df2f72 Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Fri, 11 Nov 2016 23:29:56 +0100
+Subject: [PATCH] Fix lcms2.pc.in thread library dependency.
+
+Needed (sometimes) for static linking.
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ lcms2.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lcms2.pc.in b/lcms2.pc.in
+index b715f59..5b4213c 100644
+--- a/lcms2.pc.in
++++ b/lcms2.pc.in
+@@ -7,5 +7,5 @@ Name: @PACKAGE@
+ Description: LCMS Color Management Library
+ Version: @VERSION@
+ Libs: -L${libdir} -llcms2
+-Libs.private: @LIB_MATH@
++Libs.private: @LIB_MATH@ @LIB_THREAD@
+ Cflags: -I${includedir}
+--
+2.8.1
+