Unified · Split
| @@ -24,6 +24,17 @@ If not, then you should install a different compiler that has no · 23 unmodified lines | |||
| 24 | hard-coded path to gas. In the worst case pass @code{--disable-asm} | 24 | hard-coded path to gas. In the worst case pass @code{--disable-asm} |
| 25 | to configure. | 25 | to configure. |
| 26 | 26 | ||
| 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 | |||
| 27 | @section BSD | 38 | @section BSD |
| 28 | 39 | ||
| 29 | BSD make will not build Libav, you need to install and use GNU Make | 40 | BSD make will not build Libav, you need to install and use GNU Make |