Subject: Re: [PATCH] libssh2.pc.in: fix the output of pkg-config --libs

Re: [PATCH] libssh2.pc.in: fix the output of pkg-config --libs

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 15 Dec 2015 11:40:36 +0100

On Thursday, December 03, 2015 18:45:41 Kamil Dudka wrote:
> From: Paul Howarth <paul_at_city-fan.org>
>
> ... such that it does not include LDFLAGS used to build libssh2 itself.

Pushed upstream:

https://github.com/libssh2/libssh2/commit/9bf32da6

Kamil

> There was a similar fix in the curl project long time ago:
>
> https://github.com/bagder/curl/commit/curl-7_19_7-56-g4c8adc8
>
> Bug: https://bugzilla.redhat.com/1279966
> Signed-off-by: Kamil Dudka <kdudka_at_redhat.com>
> ---
> libssh2.pc.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libssh2.pc.in b/libssh2.pc.in
> index 26d8a45..084918a 100644
> --- a/libssh2.pc.in
> +++ b/libssh2.pc.in
> @@ -12,6 +12,6 @@ URL: http://www.libssh2.org/
> Description: Library for SSH-based communication
> Version: @LIBSSH2VER@
> Requires.private: @LIBSREQUIRED@
> -Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@
> +Libs: -L${libdir} -lssh2 @LIBS@
> Libs.private: @LIBS@
> Cflags: -I${includedir}
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-12-15