aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2014-07-03 16:22:33 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-07-09 09:57:10 -0400
commit33a7b453a8e1f090c694ea4f36769dc837be88f0 (patch)
tree45736ba1038f812a7af9c05041c760f420b0851e
parent0307cc2253e76772b1c645ac6117d08da87a147c (diff)
downloadffmpeg-33a7b453a8e1f090c694ea4f36769dc837be88f0.tar.gz
doc: mention option to mix shared/static libraries
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-rw-r--r--doc/platform.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/platform.texi b/doc/platform.texi
index 356ee2f747..3ada146e79 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.
+@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
+@code{--enable-pic} during Libav configure) and add the following option
+to your project LDFLAGS:
+
+@example
+-Wl,-Bsymbolic
+@end example
+
@section BSD
BSD make will not build Libav, you need to install and use GNU Make