[Xcb] [PATCH 2/2] pkg-config files: remove LIBS which is unrequired and undesirable

Vincent Torri vtorri at univ-evry.fr
Mon Mar 7 10:11:05 PST 2011



On Mon, 7 Mar 2011, Gaetan Nadon wrote:

> LIBS is not supplied by the package configuration, it may be anything
> the builder sets through the command line. Only -lxcb-util is needed.

and Libs.private and Requires.private should be set correctly

Vincent

>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
> xcb-atom.pc.in  |    2 +-
> xcb-aux.pc.in   |    2 +-
> xcb-event.pc.in |    2 +-
> xcb-util.pc.in  |    2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/xcb-atom.pc.in b/xcb-atom.pc.in
> index 4100b9b..fcc39e8 100644
> --- a/xcb-atom.pc.in
> +++ b/xcb-atom.pc.in
> @@ -7,5 +7,5 @@ Name: XCB Atom library
> Description: XCB atom cache
> Version: @PACKAGE_VERSION@
> Requires: xcb
> -Libs: -L${libdir} -lxcb-util @LIBS@
> +Libs: -L${libdir} -lxcb-util
> Cflags: -I${includedir}
> diff --git a/xcb-aux.pc.in b/xcb-aux.pc.in
> index 4521f23..d049081 100644
> --- a/xcb-aux.pc.in
> +++ b/xcb-aux.pc.in
> @@ -7,5 +7,5 @@ Name: XCB Aux library
> Description: XCB convenient functions
> Version: @PACKAGE_VERSION@
> Requires: xcb
> -Libs: -L${libdir} -lxcb-util @LIBS@
> +Libs: -L${libdir} -lxcb-util
> Cflags: -I${includedir}
> diff --git a/xcb-event.pc.in b/xcb-event.pc.in
> index 925f93d..4a7d618 100644
> --- a/xcb-event.pc.in
> +++ b/xcb-event.pc.in
> @@ -7,5 +7,5 @@ Name: XCB Event library
> Description: XCB event callback interface
> Version: @PACKAGE_VERSION@
> Requires: xcb
> -Libs: -L${libdir} -lxcb-util @LIBS@
> +Libs: -L${libdir} -lxcb-util
> Cflags: -I${includedir}
> diff --git a/xcb-util.pc.in b/xcb-util.pc.in
> index 1cafb8e..9875d90 100644
> --- a/xcb-util.pc.in
> +++ b/xcb-util.pc.in
> @@ -7,5 +7,5 @@ Name: XCB Util Core library
> Description: XCB util core interface
> Version: @PACKAGE_VERSION@
> Requires: xcb
> -Libs: -L${libdir} -lxcb-util @LIBS@
> +Libs: -L${libdir} -lxcb-util
> Cflags: -I${includedir}
> -- 
> 1.6.0.4
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>
>


More information about the Xcb mailing list