From: Andrew Kelley <superjo...@gmail.com>

Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com>
---
Slightly different wording, is it still ok?
Vittorio

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

diff --git a/doc/platform.texi b/doc/platform.texi
index 356ee2f..16c7874 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 set 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
-- 
1.8.5.2 (Apple Git-48)

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to