[Spice-devel] [PATCH] spice-server.pc.in: move Requires to Requires.private
Alon Levy
alevy at redhat.com
Sun Oct 23 02:19:14 PDT 2011
On Sun, Oct 23, 2011 at 05:14:44PM +0800, Liang Guo wrote:
> 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.
ACK, thanks.
> ---
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list