Commit 33a7b453 authored by Andrew Kelley's avatar Andrew Kelley Committed by Vittorio Giovara

doc: mention option to mix shared/static libraries

Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
parent 0307cc22
...@@ -24,6 +24,17 @@ If not, then you should install a different compiler that has no ...@@ -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} hard-coded path to gas. In the worst case pass @code{--disable-asm}
to configure. 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 @section BSD
BSD make will not build Libav, you need to install and use GNU Make BSD make will not build Libav, you need to install and use GNU Make
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment