[FFmpeg-cvslog] doc: mention option to mix shared/static libraries

Andrew Kelley git at videolan.org
Wed Jul 9 23:56:30 CEST 2014


ffmpeg | branch: master | Andrew Kelley <superjoe30 at gmail.com> | Thu Jul  3 16:22:33 2014 -0400| [33a7b453a8e1f090c694ea4f36769dc837be88f0] | committer: Vittorio Giovara

doc: mention option to mix shared/static libraries

Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

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

 doc/platform.texi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/platform.texi b/doc/platform.texi
index 356ee2f..3ada146 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -24,6 +24,17 @@ If not, then you should install a different compiler that has no
 hard-coded path to gas. In the worst case pass @code{--disable-asm}
 to configure.
 
+ at section Advanced linking configuration
+
+If you compiled Libav libraries statically and you want to use them to
+build your own shared library, you may need to force PIC support (with
+ at code{--enable-pic} during Libav configure) and add the following option
+to your project LDFLAGS:
+
+ at example
+-Wl,-Bsymbolic
+ at end example
+
 @section BSD
 
 BSD make will not build Libav, you need to install and use GNU Make



More information about the ffmpeg-cvslog mailing list