[FFmpeg-cvslog] avformat/libssh: Fix libssh defaulting to shared linkage.

Matt Oliver git at videolan.org
Tue Feb 11 01:45:35 CET 2014


ffmpeg | branch: master | Matt Oliver <protogonoi at gmail.com> | Wed Feb  5 10:43:38 2014 +1100| [1ff42685fee2ea7db21db808fc5804382b0edba2] | committer: Michael Niedermayer

avformat/libssh: Fix libssh defaulting to shared linkage.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Reviewed-by: Lukasz M <lukasz.m.luki at gmail.com>
See: [FFmpeg-devel] Fix libssh static linkage on Windows
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ff42685fee2ea7db21db808fc5804382b0edba2
---

 libavformat/libssh.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/libssh.c b/libavformat/libssh.c
index d513df2..418b100 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"



More information about the ffmpeg-cvslog mailing list