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 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel