mirror of https://gitee.com/openkylin/libssh2.git
[PATCH] Add -lgpg-error to .pc to facilitate static linking
Note that this patch is Debian-specific as we know that libssh2 is linked to gcrypt. Patching configure.ac to add gpg-error as a dependent library is not good, as it would cause overlinking of libssh2, and there is no separate variable for "static dependencies". All this mess ought to be solved in gcrypt inself by providing .pc file, but it is not. Gbp-Pq: Name 0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch
This commit is contained in:
parent
a438e974ab
commit
8a647b231e
|
@ -13,5 +13,5 @@ Description: Library for SSH-based communication
|
|||
Version: @LIBSSH2VER@
|
||||
Requires.private: @LIBSREQUIRED@
|
||||
Libs: -L${libdir} -lssh2 @LIBS@
|
||||
Libs.private: @LIBS@
|
||||
Libs.private: @LIBS@ -lgpg-error
|
||||
Cflags: -I${includedir}
|
||||
|
|
Loading…
Reference in New Issue