From: Andrew Kelley <[email protected]>
Signed-off-by: Vittorio Giovara <[email protected]>
---
Something old that should be definitely documented.
Vittorio
doc/platform.texi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/platform.texi b/doc/platform.texi
index 356ee2f..7040d5c 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -24,6 +24,16 @@ 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 are compiling your own shared library (.so) and you want to link
+libav as static library (.a) against it, you need to make sure to compile libav
+with @code{--enable-pic} and add the following option to your LDFLAGS:
+
+@example
+-Wl,-Bsymbolic
+@end example
+
@section BSD
BSD make will not build Libav, you need to install and use GNU Make
--
1.8.3.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel