qt: add device preferences for mmdevice
[vlc.git] / contrib / src / ssh2 / 0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch
blobfa8cc9b2d22b089741e4c96c706b8c8e9f3fa82e
1 From 2fc4ef54ec61e98e757a49719b859d8ee59af952 Mon Sep 17 00:00:00 2001
2 From: Mikhail Gusarov <dottedmag@dottedmag.net>
3 Date: Wed, 3 Sep 2014 15:47:19 +0200
4 Subject: [PATCH] Add -lgpg-error to .pc to facilitate static linking
6 Note that this patch is Debian-specific as we know that libssh2 is linked
7 to gcrypt.
9 Patching configure.ac to add gpg-error as a dependent library is not good, as it
10 would cause overlinking of libssh2, and there is no separate variable for
11 "static dependencies".
13 All this mess ought to be solved in gcrypt inself by providing .pc file,
14 but it is not.
16 ---
17 libssh2.pc.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 Index: libssh2/libssh2.pc.in
21 ===================================================================
22 --- libssh2.orig/libssh2.pc.in
23 +++ libssh2/libssh2.pc.in
24 @@ -13,5 +13,5 @@ Description: Library for SSH-based commu
25 Version: @LIBSSH2VER@
26 Requires.private: @LIBSREQUIRED@
27 Libs: -L${libdir} -lssh2 @LIBS@
28 -Libs.private: @LIBS@
29 +Libs.private: @LIBS@ -lgpg-error
30 Cflags: -I${includedir}