History

doc: mention option to mix shared/static libraries

Andrew Kelley committed 12 years ago

Commit 33a7b451 parent 0307cc21 file · +11 −0Browse files

Unified · Split

doc/platform.texi+11−0
@@ -24,6 +24,17 @@ If not, then you should install a different compiler that has no · 23 unmodified lines
2424 hard-coded path to gas. In the worst case pass @code{--disable-asm}
2525 to configure.
2626
27+@section Advanced linking configuration
28+
29+If you compiled Libav libraries statically and you want to use them to
30+build your own shared library, you may need to force PIC support (with
31+@code{--enable-pic} during Libav configure) and add the following option
32+to your project LDFLAGS:
33+
34+@example
35+-Wl,-Bsymbolic
36+@end example
37+
2738 @section BSD
2839
2940 BSD make will not build Libav, you need to install and use GNU Make

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t