aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/libssh.c
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-02-05 10:43:38 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-11 01:31:18 +0100
commit1ff42685fee2ea7db21db808fc5804382b0edba2 (patch)
treea8fa57773748df482945ee758930e7aed803a883 /libavformat/libssh.c
parent8f92edf6f86c1cfef16fe15a75bbea80f48e6df3 (diff)
downloadffmpeg-1ff42685fee2ea7db21db808fc5804382b0edba2.tar.gz
avformat/libssh: Fix libssh defaulting to shared linkage.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Reviewed-by: Lukasz M <lukasz.m.luki@gmail.com> See: [FFmpeg-devel] Fix libssh static linkage on Windows Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/libssh.c')
-rw-r--r--libavformat/libssh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/libssh.c b/libavformat/libssh.c
index d513df2cdb..418b100491 100644
--- a/libavformat/libssh.c
+++ b/libavformat/libssh.c
@@ -19,6 +19,7 @@
*/
#include <fcntl.h>
+#define LIBSSH_STATIC
#include <libssh/sftp.h>
#include "libavutil/avstring.h"
#include "libavutil/opt.h"