libssh2/libssh2-1.6.0-pkgconfig.patch

13 lines
370 B
Diff

Remove LDFLAGS from pkg-config --libs output (#1279966)
--- libssh2.pc.in
+++ 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}