packages lcms lcms1: private dependencies in .pc files

This commit is contained in:
Mark Brand 2011-12-23 00:27:15 +01:00
parent 0980bf4b87
commit ae29d5c247
2 changed files with 54 additions and 0 deletions

29
src/lcms-1-fixes.patch Normal file
View File

@ -0,0 +1,29 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
Contains ad hoc patches for cross building.
From 664fb3591893facfe280cb930e20b61355e32ac1 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Fri, 23 Dec 2011 00:01:31 +0100
Subject: [PATCH] add missing static dependencies to .pc file
---
lcms2.pc.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lcms2.pc.in b/lcms2.pc.in
index b715f59..4a8fdb3 100644
--- a/lcms2.pc.in
+++ b/lcms2.pc.in
@@ -7,5 +7,6 @@ Name: @PACKAGE@
Description: LCMS Color Management Library
Version: @VERSION@
Libs: -L${libdir} -llcms2
-Libs.private: @LIB_MATH@
+Libs.private: -ljpeg @LIB_MATH@
Cflags: -I${includedir}
+Requires.private: libtiff-4
--
1.7.8

25
src/lcms1-1-fixes.patch Normal file
View File

@ -0,0 +1,25 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
Contains ad hoc patches for cross building.
From 6f4063fc97b3acc653605c077c94b862a9808fd4 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Fri, 23 Dec 2011 00:07:18 +0100
Subject: [PATCH] add missing static dependencies to .pc file
diff --git a/lcms.pc.in b/lcms.pc.in
index b3897b0..c72ef2f 100755
--- a/lcms.pc.in
+++ b/lcms.pc.in
@@ -7,4 +7,6 @@ Name: @PACKAGE@
Description: LCMS Color Management Library
Version: @VERSION@
Libs: -L${libdir} -llcms
+Libs.private: -ljpeg
Cflags: -I${includedir}
+Requires.private: libtiff-4
--
1.7.8