From: Paul Howarth <paul_at_city-fan.org>
... such that it does not include LDFLAGS used to build libssh2 itself.
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} -- 2.5.0 _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2015-12-03