Browse Source

doc: mention option to mix shared/static libraries

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
tags/n2.3
Andrew Kelley Vittorio Giovara 11 years ago
parent
commit
33a7b453a8
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      doc/platform.texi

+ 11
- 0
doc/platform.texi View File

@@ -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


Loading…
Cancel
Save