[FFmpeg-trac] #1968(build system:new): ./configure --enable-shared --enable-static behavior odd.
FFmpeg
trac at avcodec.org
Wed Nov 28 20:54:47 CET 2012
#1968: ./configure --enable-shared --enable-static behavior odd.
-------------------------------------+-------------------------------------
Reporter: rogerdpack | Owner:
Type: defect | Status: new
Priority: normal | Component: build
Version: unspecified | system
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by reimar):
Just like "configure --help" describes, these two options specify whether
the static and the dynamic libav* libraries will be built.
When both are enabled, it is up to the toolchain (the build system only
tells it which libraries to link against but nothing more specific), which
almost always will default to preferring shared libraries.
If you want a stand-alone binary, "--extra-ldflags=-static" is a better
solution since it will also try to statically link system library
dependencies.
Anything else is probably a too special case for us to support it.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1968#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list