Attempt to document the "enable pic" hackery for OpenBSD.

Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-11-09 22:52:46 +00:00
parent c47ca25e74
commit a7b9c8aefd

4
configure vendored
View File

@ -1916,6 +1916,10 @@ case $target_os in
;;
openbsd)
enable malloc_aligned
# on OpenBSD 4.5. the compiler does not use PIC unless explicitly using
# -fPIC. FFmpeg builds fine without PIC, however the generated executable
# will not do anything (simply quits with exit-code 1, no crash, no output).
# Thus explicitly enable PIC here.
enable pic
SHFLAGS='-shared'
oss_indev_extralibs="-lossaudio"