aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-09 23:45:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-09 23:47:19 +0200
commite8a966e361a7512ecfb03073074c8b9084229e69 (patch)
treeeecf4e8960441b94232d1a0ac15ecd0277d11661
parent19b9e07ef5fdd8558735538a04fac7f428df190c (diff)
parent33a7b453a8e1f090c694ea4f36769dc837be88f0 (diff)
downloadffmpeg-e8a966e361a7512ecfb03073074c8b9084229e69.tar.gz
Merge commit '33a7b453a8e1f090c694ea4f36769dc837be88f0'
* commit '33a7b453a8e1f090c694ea4f36769dc837be88f0': doc: mention option to mix shared/static libraries Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--doc/platform.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/platform.texi b/doc/platform.texi
index 86dab54091..c71121fc1e 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 FFmpeg 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 FFmpeg configure) and add the following option
+to your project LDFLAGS:
+
+@example
+-Wl,-Bsymbolic
+@end example
+
@section BSD
BSD make will not build FFmpeg, you need to install and use GNU Make