[Spice-devel] [PATCH] spice-server.pc.in: move Requires to Requires.private

Liang Guo bluestonechina at gmail.com
Sun Oct 23 02:14:44 PDT 2011


When using pkg-config, Requires and Requires.private field list
packages required by this package, but packages listed under
Requires.private are not taken into account when a flag list is
computed for dynamically linked executable. In the situation
where each .pc file corresponds to a library, Requires.private
shall be used exclusively to specify the dependencies between
the libraries.
---
 spice-server.pc.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/spice-server.pc.in b/spice-server.pc.in
index 69c80f3..f65ddcf 100644
--- a/spice-server.pc.in
+++ b/spice-server.pc.in
@@ -7,7 +7,7 @@ Name: spice
 Description: SPICE server library
 Version: @VERSION@
 
-Requires: @SPICE_REQUIRES@
+Requires.private: @SPICE_REQUIRES@
 Libs: -L${libdir} -lspice-server
 Libs.private: @SPICE_NONPKGCONFIG_LIBS@
 Cflags: -I${includedir}/spice-server
-- 
1.7.7



More information about the Spice-devel mailing list